Partager via


ODataActionSelector Class

 

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

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

Inheritance Hierarchy

System.Object
  System.Web.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 T:System.Web.ControllersActionDescriptor that the selector can select. This is primarily called by T:System.Web.Description.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 T:System.Web.Controllers.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.OData.Routing Namespace

Return to top