ConfigurationFilterProvider.GetFilters Method
Returns the filters that are associated with this configuration method.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Function GetFilters ( _
configuration As HttpConfiguration, _
actionDescriptor As HttpActionDescriptor _
) As IEnumerable(Of FilterInfo)
'Usage
Dim instance As ConfigurationFilterProvider
Dim configuration As HttpConfiguration
Dim actionDescriptor As HttpActionDescriptor
Dim returnValue As IEnumerable(Of FilterInfo)
returnValue = instance.GetFilters(configuration, _
actionDescriptor)
public IEnumerable<FilterInfo> GetFilters(
HttpConfiguration configuration,
HttpActionDescriptor actionDescriptor
)
public:
virtual IEnumerable<FilterInfo^>^ GetFilters(
HttpConfiguration^ configuration,
HttpActionDescriptor^ actionDescriptor
) sealed
abstract GetFilters :
configuration:HttpConfiguration *
actionDescriptor:HttpActionDescriptor -> IEnumerable<FilterInfo>
override GetFilters :
configuration:HttpConfiguration *
actionDescriptor:HttpActionDescriptor -> IEnumerable<FilterInfo>
public final function GetFilters(
configuration : HttpConfiguration,
actionDescriptor : HttpActionDescriptor
) : IEnumerable<FilterInfo>
Parameters
- configuration
Type: System.Web.Http.HttpConfiguration
The configuration.
- actionDescriptor
Type: System.Web.Http.Controllers.HttpActionDescriptor
The action descriptor.
Return Value
Type: System.Collections.Generic.IEnumerable<FilterInfo>
The filters that are associated with this configuration method.
Implements
IFilterProvider.GetFilters(HttpConfiguration, HttpActionDescriptor)