Export (0) Print
Expand All

DefaultHttpControllerActivator Class

Represents a default implementation of an IHttpControllerActivator. A different implementation can be registered via the DependencyResolver. We optimize for the case where we have an ApiControllerActionInvoker instance per HttpControllerDescriptor instance but can support cases where there are many HttpControllerDescriptor instances for one ApiControllerActionInvoker as well. In the latter case the lookup is slightly slower because it goes through the Properties() dictionary.

System.Object
  System.Web.Http.Dispatcher.DefaultHttpControllerActivator

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

public class DefaultHttpControllerActivator : IHttpControllerActivator

The DefaultHttpControllerActivator type exposes the following members.

  NameDescription
Public methodDefaultHttpControllerActivatorInitializes a new instance of the DefaultHttpControllerActivator class.
Top

  NameDescription
Public methodCreate Creates the IHttpController specified by controllerType using the given request.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
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