GlobalFilterCollection.IFilterProvider.GetFilters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.
System.Collections.Generic.IEnumerable<System.Web.Mvc.Filter> IFilterProvider.GetFilters (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
abstract member System.Web.Mvc.IFilterProvider.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
override this.System.Web.Mvc.IFilterProvider.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of Filter) Implements IFilterProvider.GetFilters
Parameters
- controllerContext
- ControllerContext
The controller context.
- actionDescriptor
- ActionDescriptor
The action descriptor.
Returns
An enumerator that iterates through the global filter collection.