Click or drag to resize

AutofacFilterProviderGetFilters Method

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

Namespace:  Autofac.Integration.Mvc
Assembly:  Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax
public override IEnumerable<Filter> GetFilters(
	ControllerContext controllerContext,
	ActionDescriptor actionDescriptor
)

Parameters

controllerContext
Type: ControllerContext
The controller context.
actionDescriptor
Type: ActionDescriptor
The action descriptor.

Return Value

Type: IEnumerableFilter
The collection filters from all of the filter providers with properties injected.

Implements

IFilterProvider.GetFilters(ControllerContext, ActionDescriptor)
Exceptions
ExceptionCondition
ArgumentNullException Thrown if controllerContext is .
See Also