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 | |
|---|---|---|
![]() |
DefaultHttpControllerFactory | Initializes a new instance of the DefaultHttpControllerFactory class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
CreateController | Create the controller. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ReleaseController | Release the controller. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
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.
.gif)
.gif)
.gif)
.gif)