Click or drag to resize

AutofacWebApiFilterProviderGetFilters Method

Returns the collection of filters associated with actionDescriptor.

Namespace:  Autofac.Integration.WebApi
Assembly:  Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax
public IEnumerable<FilterInfo> GetFilters(
	HttpConfiguration configuration,
	HttpActionDescriptor actionDescriptor
)

Parameters

configuration
Type: HttpConfiguration
The configuration.
actionDescriptor
Type: HttpActionDescriptor
The action descriptor.

Return Value

Type: IEnumerableFilterInfo
A collection of filters with instances property injected.

Implements

IFilterProvider.GetFilters(HttpConfiguration, HttpActionDescriptor)
Exceptions
ExceptionCondition
ArgumentNullException Thrown if configuration is .
See Also