QueryFilterProvider.GetFilters Method (HttpConfiguration, HttpActionDescriptor)
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
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 Function GetFilters (
configuration As HttpConfiguration,
actionDescriptor As HttpActionDescriptor
) As IEnumerable(Of FilterInfo)
Parameters
configuration
Type: System.Web.Http.HttpConfigurationThe server configuration.
actionDescriptor
Type: System.Web.Http.Controllers.HttpActionDescriptorThe action descriptor for the action to provide filters for.
Return Value
Type: System.Collections.Generic.IEnumerable<FilterInfo>
The filters to apply to the specified action.
Implements
IFilterProvider.GetFilters(HttpConfiguration, HttpActionDescriptor)
See Also
QueryFilterProvider Class
System.Web.Http.OData.Query Namespace
Return to top