Selects the action for OData requests.
Namespace:   System.Web.OData.Routing.Conventions
Assembly:  System.Web.OData (in System.Web.OData.dll)
Syntax
string SelectAction(
    ODataPath odataPath,
    HttpControllerContext controllerContext,
    ILookup<string, HttpActionDescriptor> actionMap
)
String^ SelectAction(
    ODataPath^ odataPath,
    HttpControllerContext^ controllerContext,
    ILookup<String^, HttpActionDescriptor^>^ actionMap
)
abstract SelectAction : 
        odataPath:ODataPath *
        controllerContext:HttpControllerContext *
        actionMap:ILookup<string, HttpActionDescriptor> -> string
Function SelectAction (
    odataPath As ODataPath,
    controllerContext As HttpControllerContext,
    actionMap As ILookup(Of String, HttpActionDescriptor)
) As String
Parameters
- odataPath 
 Type: System.Web.OData.Routing.ODataPath- The OData path. 
- controllerContext 
 Type: System.Web.Http.Controllers.HttpControllerContext- The controller context. 
- actionMap 
 Type: System.Linq.ILookup<String, HttpActionDescriptor>- The action map. 
Return Value
Type: System.String
null if the request isn't handled by this convention; otherwise, the name of the selected action
See Also
IODataRoutingConvention Interface
System.Web.OData.Routing.Conventions Namespace
Return to top