ActionConstraintProviderContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 物件的清單。