FilterAttributeFilterProvider.GetFilters 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将所有筛选器提供程序中的筛选器聚合为一个集合。
public virtual System.Collections.Generic.IEnumerable<System.Web.Mvc.Filter> GetFilters (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
abstract member GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
override this.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
Public Iterator Overridable Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of Filter)
参数
- controllerContext
- ControllerContext
控制器上下文。
- actionDescriptor
- ActionDescriptor
操作描述符。
返回
来自所有筛选器提供程序的筛选器的集合。