FilterProviderCollection.GetFilters Method

Definition

Returns the collection of filter providers.

public System.Collections.Generic.IEnumerable<System.Web.Mvc.Filter> GetFilters (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor);
member this.GetFilters : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor -> seq<System.Web.Mvc.Filter>
Public Function GetFilters (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor) As IEnumerable(Of Filter)

Parameters

controllerContext
ControllerContext

The controller context.

actionDescriptor
ActionDescriptor

The action descriptor.

Returns

The collection of filter providers.

Applies to