DefaultHttpControllerFactory Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides the default IHttpControllerFactory instance for creating new IHttpController instances.

Inheritance Hierarchy

System.Object
  System.Web.Http.Dispatcher.DefaultHttpControllerFactory

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

Syntax

'Declaration
Public Class DefaultHttpControllerFactory _
    Implements IHttpControllerFactory
public class DefaultHttpControllerFactory : IHttpControllerFactory
public ref class DefaultHttpControllerFactory : IHttpControllerFactory
type DefaultHttpControllerFactory =  
    class
        interface IHttpControllerFactory
    end
public class DefaultHttpControllerFactory implements IHttpControllerFactory

The DefaultHttpControllerFactory type exposes the following members.

Constructors

  Name Description
Public method DefaultHttpControllerFactory Initializes a new instance of the DefaultHttpControllerFactory class.

Top

Methods

  Name Description
Public method CreateController Create the controller.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReleaseController Release the controller.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ControllerSuffix Specifies the controller suffix.

Top

Remarks

A different implementation can be registered by means of the DependencyResolver.

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

Reference

System.Web.Http.Dispatcher Namespace