Share via


ODataActionSelector Class

 

An implementation of IHttpActionSelector that uses the server's OData routing conventions to select an action for OData requests.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Routing.ODataActionSelector

Syntax

public class ODataActionSelector : IHttpActionSelector
public ref class ODataActionSelector : IHttpActionSelector
type ODataActionSelector = 
    class
        interface IHttpActionSelector
    end
Public Class ODataActionSelector
    Implements IHttpActionSelector

Constructors

Name Description
System_CAPS_pubmethod ODataActionSelector(IHttpActionSelector)

Initializes a new instance of the ODataActionSelector class.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetActionMapping(HttpControllerDescriptor)

Returns a map, keyed by action string, of all HttpActionDescriptor that the selector can select. This is primarily called by IApiExplorer to discover all the possible actions in the controller.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SelectAction(HttpControllerContext)

Selects an action for the ApiControllerActionSelector.

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.Http.OData.Routing Namespace

Return to top