FilterProviderCollection.GetFilters 方法

定义

返回筛选器提供程序的集合。

public System.Collections.Generic.IEnumerable<System.Web.Mvc.Filter> GetFilters (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
member this.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
Public Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of Filter)

参数

controllerContext
ControllerContext

控制器上下文。

actionDescriptor
ActionDescriptor

操作描述符。

返回

筛选器提供程序的集合。

适用于