DefaultHttpControllerSelector Class
Represents a default IHttpControllerSelector instance for choosing a HttpControllerDescriptor given a HttpRequestMessage. A different implementation can be registered via the Services.
Namespace: System.Web.Http.Dispatcher
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Dispatcher.DefaultHttpControllerSelector
Syntax
public class DefaultHttpControllerSelector : IHttpControllerSelector
public ref class DefaultHttpControllerSelector : IHttpControllerSelector
type DefaultHttpControllerSelector =
class
interface IHttpControllerSelector
end
Public Class DefaultHttpControllerSelector
Implements IHttpControllerSelector
Constructors
Name | Description | |
---|---|---|
DefaultHttpControllerSelector(HttpConfiguration) | Initializes a new instance of the DefaultHttpControllerSelector class. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetControllerMapping() | Returns a map, keyed by controller string, of all HttpControllerDescriptor that the selector can select. |
|
GetControllerName(HttpRequestMessage) | Gets the name of the controller for the specified HttpRequestMessage. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
SelectController(HttpRequestMessage) | Selects a HttpControllerDescriptor for the given HttpRequestMessage. |
|
ToString() | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
ControllerSuffix | Specifies the suffix string in the controller name. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.Dispatcher Namespace
Return to top