Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a default IHttpControllerSelector instance for choosing a HttpControllerDescriptor given a HttpRequestMessage. A different implementation can be registered via the Services.
Inheritance Hierarchy
System.Object
System.Web.Http.Dispatcher.DefaultHttpControllerSelector
Namespace: System.Web.Http.Dispatcher
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class DefaultHttpControllerSelector _
Implements IHttpControllerSelector
'Usage
Dim instance As DefaultHttpControllerSelector
public class DefaultHttpControllerSelector : IHttpControllerSelector
public ref class DefaultHttpControllerSelector : IHttpControllerSelector
type DefaultHttpControllerSelector =
class
interface IHttpControllerSelector
end
public class DefaultHttpControllerSelector implements IHttpControllerSelector
The DefaultHttpControllerSelector type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
DefaultHttpControllerSelector | Initializes a new instance of the DefaultHttpControllerSelector class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetControllerMapping | Returns a map, keyed by controller string, of all HttpControllerDescriptor that the selector can select. |
![]() |
GetControllerName | Gets the name of the controller for the specified HttpRequestMessage. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SelectController | Selects a HttpControllerDescriptor for the given HttpRequestMessage. |
![]() |
ToString | (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
ControllerSuffix | Specifies the suffix string in the controller name. |
Top
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.
.jpeg)
.jpeg)
.jpeg)
.gif)