IControllerFactory.CreateController Method
Creates the specified controller by using the specified request context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
function CreateController(
requestContext : RequestContext,
controllerName : String
) : IController
Parameters
- requestContext
- Type: System.Web.Routing.RequestContext
The request context.
- controllerName
- Type: System.String
The name of the controller.
Show: