IFilterProvider::GetFilters Method

Returns an enumerator that contains all the IFilterProvider instances in the service locator.

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

IEnumerable<Filter^>^ GetFilters(
	ControllerContext^ controllerContext, 
	ActionDescriptor^ actionDescriptor
)

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 enumerator that contains all the IFilterProvider instances in the service locator.
Show: