Share via


QueryFilterProvider.GetFilters Method

Provides filters to apply to the specified action.

Namespace:  System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function GetFilters ( _
    configuration As HttpConfiguration, _
    actionDescriptor As HttpActionDescriptor _
) As IEnumerable(Of FilterInfo)
'Usage
Dim instance As QueryFilterProvider 
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 to apply to the specified action.

Implements

IFilterProvider.GetFilters(HttpConfiguration, HttpActionDescriptor)

See Also

Reference

QueryFilterProvider Class

System.Web.Http.OData.Query Namespace