ODataActionSelector.SelectAction Method (HttpControllerContext)
Selects an action for the T:System.Web.Controllers.ApiControllerActionSelector .
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public HttpActionDescriptor SelectAction(
HttpControllerContext controllerContext
)
public:
virtual HttpActionDescriptor^ SelectAction(
HttpControllerContext^ controllerContext
) sealed
abstract SelectAction :
controllerContext:HttpControllerContext -> HttpActionDescriptor
override SelectAction :
controllerContext:HttpControllerContext -> HttpActionDescriptor
Public Function SelectAction (
controllerContext As HttpControllerContext
) As HttpActionDescriptor
Parameters
controllerContext
Type: System.Web.Http.Controllers.HttpControllerContextThe controller context.
Return Value
Type: System.Web.Http.Controllers.HttpActionDescriptor
The selected action.
Implements
IHttpActionSelector.SelectAction(HttpControllerContext)
See Also
ODataActionSelector Class
System.Web.OData.Routing Namespace
Return to top