Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IHttpActionSelector.GetActionMapping Method

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)
function GetActionMapping(
	controllerDescriptor : HttpControllerDescriptor
) : ILookup<String, HttpActionDescriptor>

Parameters

controllerDescriptor
Type: System.Web.Http.Controllers.HttpControllerDescriptor

The controller descriptor.

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.