Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Selects the action for OData requests.
Namespace: System.Web.Http.OData.Routing.Conventions
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public override string SelectAction(
ODataPath odataPath,
HttpControllerContext controllerContext,
ILookup<string, HttpActionDescriptor> actionMap
)
public:
virtual String^ SelectAction(
ODataPath^ odataPath,
HttpControllerContext^ controllerContext,
ILookup<String^, HttpActionDescriptor^>^ actionMap
) override
override SelectAction :
odataPath:ODataPath *
controllerContext:HttpControllerContext *
actionMap:ILookup<string, HttpActionDescriptor> -> string
Public Overrides Function SelectAction (
odataPath As ODataPath,
controllerContext As HttpControllerContext,
actionMap As ILookup(Of String, HttpActionDescriptor)
) As String
Parameters
odataPath
Type: System.Web.Http.OData.Routing.ODataPathThe OData path.
controllerContext
Type: System.Web.Http.Controllers.HttpControllerContextThe 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
Implements
See Also
ActionRoutingConvention Class
System.Web.Http.OData.Routing.Conventions Namespace
Return to top