IControllerActivator.Create Method

When implemented in a class, creates a controller.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

abstract Create : 
        requestContext:RequestContext * 
        controllerType:Type -> IController

Parameters

requestContext
Type: System.Web.Routing.RequestContext

The request context.

controllerType
Type: System.Type

The controller type.

Return Value

Type: System.Web.Mvc.IController
The created controller.
Show: