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)


IDictionary<string, HttpControllerDescriptor> GetControllerMapping()
IDictionary<String^, HttpControllerDescriptor^>^ GetControllerMapping()
abstract GetControllerMapping : unit -> IDictionary<string, HttpControllerDescriptor>
Function GetControllerMapping As IDictionary(Of 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

IHttpControllerSelector Interface
System.Web.Http.Dispatcher Namespace

Return to top