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.

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

Inheritance Hierarchy

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

Syntax

public class QueryFilterProvider : IFilterProvider
public ref class QueryFilterProvider : IFilterProvider
type QueryFilterProvider = 
    class
        interface IFilterProvider
    end
Public Class QueryFilterProvider
    Implements IFilterProvider

Constructors

Name Description
System_CAPS_pubmethod QueryFilterProvider(IActionFilter)

Initializes a new instance of the QueryFilterProvider class.

Properties

Name Description
System_CAPS_pubproperty QueryFilter

Gets the action filter that executes the query.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetFilters(HttpConfiguration, HttpActionDescriptor)

Provides filters to apply to the specified action.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.OData.Query Namespace

Return to top