Partager via


ODataActionSelector.GetActionMapping Method (HttpControllerDescriptor)

 

Returns a map, keyed by action string, of all T:System.Web.ControllersActionDescriptor that the selector can select. This is primarily called by T:System.Web.Description.IApiExplorer to discover all the possible actions in the controller.

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.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 T:System.Web.ControllersActionDescriptor that the selector can select, or null if the selector does not have a well-defined mapping of T:System.Web.ControllersActionDescriptor .

Implements

IHttpActionSelector.GetActionMapping(HttpControllerDescriptor)

Exceptions

Exception Condition
NotImplementedException

See Also

ODataActionSelector Class
System.Web.OData.Routing Namespace

Return to top