IHttpActionSelector.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.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)


ILookup<string, HttpActionDescriptor> GetActionMapping(
    HttpControllerDescriptor controllerDescriptor
ILookup<String^, HttpActionDescriptor^>^ GetActionMapping(
    HttpControllerDescriptor^ controllerDescriptor
abstract GetActionMapping : 
        controllerDescriptor:HttpControllerDescriptor -> ILookup<string, HttpActionDescriptor>
Function GetActionMapping (
    controllerDescriptor As HttpControllerDescriptor
) As ILookup(Of String, HttpActionDescriptor)


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.

See Also

IHttpActionSelector Interface
System.Web.Http.Controllers Namespace

Return to top