IFilterProvider.GetFilters(ControllerContext, ActionDescriptor) Method

Definition

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

public 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>

Parameters

controllerContext
ControllerContext

The controller context.

actionDescriptor
ActionDescriptor

The action descriptor.

Returns

The enumerator that contains all the IFilterProvider instances in the service locator.

Applies to