FilterContext(ActionContext, IList<IFilterMetadata>) 建構函式

定義

具現化新的 FilterContext 實例。

public:
 FilterContext(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^> ^ filters);
public FilterContext (Microsoft.AspNetCore.Mvc.ActionContext actionContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters);
new Microsoft.AspNetCore.Mvc.Filters.FilterContext : Microsoft.AspNetCore.Mvc.ActionContext * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> -> Microsoft.AspNetCore.Mvc.Filters.FilterContext
Public Sub New (actionContext As ActionContext, filters As IList(Of IFilterMetadata))

參數

actionContext
ActionContext

ActionContext

filters
IList<IFilterMetadata>

所有適用的 IFilterMetadata 實作。

適用於