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
)

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.
Show:
© 2014 Microsoft