Share via


QueryFilterProvider Class

An implementation of IFilterProvider that applies an action filter to any action with an IQueryable or IQueryable<T> return type that doesn't bind a parameter of type ODataQueryOptions .

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Query.QueryFilterProvider

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

Syntax

'Declaration
Public Class QueryFilterProvider _
    Implements IFilterProvider
'Usage
Dim instance As QueryFilterProvider
public class QueryFilterProvider : IFilterProvider
public ref class QueryFilterProvider : IFilterProvider
type QueryFilterProvider =  
    class 
        interface IFilterProvider 
    end
public class QueryFilterProvider implements IFilterProvider

The QueryFilterProvider type exposes the following members.

Constructors

  Name Description
Public method QueryFilterProvider Initializes a new instance of the QueryFilterProvider class.

Top

Properties

  Name Description
Public property QueryFilter Gets the action filter that executes the query.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetFilters Provides filters to apply to the specified action.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData.Query Namespace