Share via


MetadataRoutingConvention.SelectAction Method (ODataPath, HttpControllerContext, ILookup<String, HttpActionDescriptor>)

 

Selects the action for OData requests.

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

Syntax

public string SelectAction(
    ODataPath odataPath,
    HttpControllerContext controllerContext,
    ILookup<string, HttpActionDescriptor> actionMap
)
public:
virtual String^ SelectAction(
    ODataPath^ odataPath,
    HttpControllerContext^ controllerContext,
    ILookup<String^, HttpActionDescriptor^>^ actionMap
) sealed
abstract SelectAction : 
        odataPath:ODataPath *
        controllerContext:HttpControllerContext *
        actionMap:ILookup<string, HttpActionDescriptor> -> string
override SelectAction : 
        odataPath:ODataPath *
        controllerContext:HttpControllerContext *
        actionMap:ILookup<string, HttpActionDescriptor> -> string
Public Function SelectAction (
    odataPath As ODataPath,
    controllerContext As HttpControllerContext,
    actionMap As ILookup(Of String, HttpActionDescriptor)
) As String

Parameters

Return Value

Type: System.String

null if the request isn't handled by this convention; otherwise, the name of the selected action

Implements

IODataRoutingConvention.SelectAction(ODataPath, HttpControllerContext, ILookup<String, HttpActionDescriptor>)

See Also

MetadataRoutingConvention Class
System.Web.OData.Routing.Conventions Namespace

Return to top