Share via


DefaultHttpControllerSelector.GetControllerMapping Method ()

 

Returns a map, keyed by controller string, of all HttpControllerDescriptor that the selector can select.

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

Syntax

public virtual IDictionary<string, HttpControllerDescriptor> GetControllerMapping()
public:
virtual IDictionary<String^, HttpControllerDescriptor^>^ GetControllerMapping()
abstract GetControllerMapping : unit -> IDictionary<string, HttpControllerDescriptor>
override GetControllerMapping : unit -> IDictionary<string, HttpControllerDescriptor>
Public Overridable 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.

Implements

IHttpControllerSelector.GetControllerMapping()

See Also

DefaultHttpControllerSelector Class
System.Web.Http.Dispatcher Namespace

Return to top