Export (0) Print
Expand All

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)

ILookup<string, HttpActionDescriptor> GetActionMapping(
	HttpControllerDescriptor 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.
© 2014 Microsoft