Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

Function GetActionMapping (
	controllerDescriptor As HttpControllerDescriptor
) As ILookup(Of String, HttpActionDescriptor)

Parameters

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

The controller descriptor.

Return Value

Type: System.Linq.ILookup(Of StringHttpActionDescriptor)

A map of HttpActionDescriptor that the selector can select, or null if the selector does not have a well-defined mapping of HttpActionDescriptor.

Return to top
Show:
© 2015 Microsoft