Export (0) Print
Expand All

DefaultHttpControllerSelector Class

Represents a default IHttpControllerSelector instance for choosing a HttpControllerDescriptor given a HttpRequestMessage. A different implementation can be registered via the Services.

System.Object
  System.Web.Http.Dispatcher.DefaultHttpControllerSelector

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

public class DefaultHttpControllerSelector : IHttpControllerSelector

The DefaultHttpControllerSelector type exposes the following members.

  NameDescription
Public methodDefaultHttpControllerSelector Initializes a new instance of the DefaultHttpControllerSelector class.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetControllerMappingReturns a map, keyed by controller string, of all HttpControllerDescriptor that the selector can select.
Public methodGetControllerNameGets the name of the controller for the specified HttpRequestMessage.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSelectControllerSelects a HttpControllerDescriptor for the given HttpRequestMessage.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberControllerSuffixSpecifies the suffix string in the controller name.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft