次の方法で共有


ActionConstraintProviderContext コンストラクター

定義

新しい 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))

パラメーター

context
HttpContext

要求に関連付けられている HttpContext

action
ActionDescriptor

ActionDescriptor制約が作成される 。

items
IList<ActionConstraintItem>

ActionConstraintItem オブジェクトのリスト。

適用対象