Condividi tramite


ActionConstraintProviderContext Costruttore

Definizione

Crea un nuovo oggetto ActionConstraintProviderContext.

public:
 ActionConstraintProviderContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ action, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ActionConstraints::ActionConstraintItem ^> ^ items);
public ActionConstraintProviderContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem> items);
new Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem> -> Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext
Public Sub New (context As HttpContext, action As ActionDescriptor, items As IList(Of ActionConstraintItem))

Parametri

context
HttpContext

Oggetto HttpContext associato alla richiesta.

action
ActionDescriptor

Oggetto ActionDescriptor per il quale vengono creati vincoli.

items
IList<ActionConstraintItem>

Elenco di oggetti ActionConstraintItem.

Si applica a