Freigeben über


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

Return Value

Type: System.Collections.Generic.IEnumerable<FilterInfo>
The filters that are associated with this configuration method.

Implements

IFilterProvider.GetFilters(HttpConfiguration, HttpActionDescriptor)

See Also

Reference

ConfigurationFilterProvider Class

System.Web.Http.Filters Namespace