Class UnmappedRequestRoutingConvention
An implementation of IODataRoutingConvention that always selects the action named HandleUnmappedRequest if that action is present.
public class UnmappedRequestRoutingConvention : EntitySetRoutingConvention, IODataRoutingConvention
- Inheritance
-
UnmappedRequestRoutingConvention
- Implements
- Inherited Members
Constructors
UnmappedRequestRoutingConvention()
public UnmappedRequestRoutingConvention()
Methods
SelectAction(ODataPath, HttpControllerContext, ILookup<string, HttpActionDescriptor>)
Selects the action.
public override string SelectAction(ODataPath odataPath, HttpControllerContext controllerContext, ILookup<string, HttpActionDescriptor> actionMap)
Parameters
odataPath
ODataPathThe OData path.
controllerContext
HttpControllerContextThe controller context.
actionMap
ILookup<string, HttpActionDescriptor>The action map.