Share via


ActionConstraintProviderContext Constructor

Definition

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))

Parameters

context
HttpContext

The HttpContext associated with the request.

action
ActionDescriptor

The ActionDescriptor for which constraints are being created.

items
IList<ActionConstraintItem>

The list of ActionConstraintItem objects.

Applies to