Share via


ODataActionSelector.GetActionMapping Method (HttpControllerDescriptor)

 

Returns a map, keyed by action string, of all HttpActionDescriptor that the selector can select. This is primarily called by IApiExplorer to discover all the possible actions in the controller.

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

Syntax

public ILookup<string, HttpActionDescriptor> GetActionMapping(
    HttpControllerDescriptor controllerDescriptor
)
public:
virtual ILookup<String^, HttpActionDescriptor^>^ GetActionMapping(
    HttpControllerDescriptor^ controllerDescriptor
) sealed
abstract GetActionMapping : 
        controllerDescriptor:HttpControllerDescriptor -> ILookup<string, HttpActionDescriptor>
override GetActionMapping : 
        controllerDescriptor:HttpControllerDescriptor -> ILookup<string, HttpActionDescriptor>
Public Function GetActionMapping (
    controllerDescriptor As HttpControllerDescriptor
) As ILookup(Of String, HttpActionDescriptor)

Parameters

Return Value

Type: System.Linq.ILookup<String, HttpActionDescriptor>

A map of HttpActionDescriptor that the selector can select, or null if the selector does not have a well-defined mapping of HttpActionDescriptor.

Implements

IHttpActionSelector.GetActionMapping(HttpControllerDescriptor)

Exceptions

Exception Condition
NotImplementedException

See Also

ODataActionSelector Class
System.Web.Http.OData.Routing Namespace

Return to top