FilterAttributeFilterProvider.GetFilters(ControllerContext, ActionDescriptor) FilterAttributeFilterProvider.GetFilters(ControllerContext, ActionDescriptor) Method

Definition

Aggregates the filters from all of the filter providers into one collection.

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>

Parameters

controllerContext
ControllerContext ControllerContext

The controller context.

actionDescriptor
ActionDescriptor ActionDescriptor

The action descriptor.

Returns

The collection filters from all of the filter providers.

Implements

Applies to