GetFilters Method
Collapse the table of content
Expand the table of content

FilterAttributeFilterProvider.GetFilters Method (ControllerContext, ActionDescriptor)

 

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

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

public virtual 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 collection filters from all of the filter providers.

Return to top
Show:
© 2016 Microsoft