IHttpControllerSelector.GetControllerMapping Method

Returns a map, keyed by controller string, of all HttpControllerDescriptor that the selector can select. This is primarily called by IApiExplorer to discover all the possible controllers in the system.

Namespace:  System.Web.Http.Dispatcher
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Function GetControllerMapping As IDictionary(Of String, HttpControllerDescriptor)
'Usage
Dim instance As IHttpControllerSelector 
Dim returnValue As IDictionary(Of String, HttpControllerDescriptor)

returnValue = instance.GetControllerMapping()
IDictionary<string, HttpControllerDescriptor> GetControllerMapping()
IDictionary<String^, HttpControllerDescriptor^>^ GetControllerMapping()
abstract GetControllerMapping : unit -> IDictionary<string, HttpControllerDescriptor> 
function GetControllerMapping() : IDictionary<String, HttpControllerDescriptor>

Return Value

Type: System.Collections.Generic.IDictionary<String, HttpControllerDescriptor>
A map of all HttpControllerDescriptor that the selector can select, or null if the selector does not have a well-defined mapping of HttpControllerDescriptor.

See Also

Reference

IHttpControllerSelector Interface

System.Web.Http.Dispatcher Namespace