FilterProviderCollection.GetFilters Method

Returns the collection of filter providers.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

member GetFilters : 
        controllerContext:ControllerContext * 
        actionDescriptor:ActionDescriptor -> IEnumerable<Filter> 

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionDescriptor
Type: System.Web.Mvc.ActionDescriptor

The action descriptor.

Return Value

Type: System.Collections.Generic.IEnumerable(Filter)
The collection of filter providers.
Show: