IFilterProvider.GetFilters Method
Returns an enumeration of filters.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Function GetFilters ( _
configuration As HttpConfiguration, _
actionDescriptor As HttpActionDescriptor _
) As IEnumerable(Of FilterInfo)
'Usage
Dim instance As IFilterProvider
Dim configuration As HttpConfiguration
Dim actionDescriptor As HttpActionDescriptor
Dim returnValue As IEnumerable(Of FilterInfo)
returnValue = instance.GetFilters(configuration, _
actionDescriptor)
IEnumerable<FilterInfo> GetFilters(
HttpConfiguration configuration,
HttpActionDescriptor actionDescriptor
)
IEnumerable<FilterInfo^>^ GetFilters(
HttpConfiguration^ configuration,
HttpActionDescriptor^ actionDescriptor
)
abstract GetFilters :
configuration:HttpConfiguration *
actionDescriptor:HttpActionDescriptor -> IEnumerable<FilterInfo>
function GetFilters(
configuration : HttpConfiguration,
actionDescriptor : HttpActionDescriptor
) : IEnumerable<FilterInfo>
Parameters
- configuration
Type: System.Web.Http.HttpConfiguration
The HTTP configuration.
- actionDescriptor
Type: System.Web.Http.Controllers.HttpActionDescriptor
The action descriptor.
Return Value
Type: System.Collections.Generic.IEnumerable<FilterInfo>
An enumeration of filters.