DefaultControllerFactory Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the controller factory that is registered by default.
public class DefaultControllerFactory : System.Web.Mvc.IControllerFactory
type DefaultControllerFactory = class
interface IControllerFactory
Public Class DefaultControllerFactory
Implements IControllerFactory
- Inheritance
-
DefaultControllerFactory
- Implements
Default |
Initializes a new instance of the DefaultControllerFactory class. |
Default |
Initializes a new instance of the DefaultControllerFactory class using a controller activator. |
Create |
Creates the specified controller by using the specified request context. |
Get |
Retrieves the controller instance for the specified request context and controller type. |
Get |
Returns the controller's session behavior. |
Get |
Retrieves the controller type for the specified name and request context. |
Release |
Releases the specified controller. |
IController |
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the GetControllerSessionBehavior(RequestContext, Type) method. |