IViewPageActivator.Create(ControllerContext, Type) Method

Definition

Provides fine-grained control over how view pages are created using dependency injection.

public object Create (System.Web.Mvc.ControllerContext controllerContext, Type type);
abstract member Create : System.Web.Mvc.ControllerContext * Type -> obj

Parameters

controllerContext
ControllerContext

The controller context.

type
Type

The type of the controller.

Returns

The created view page.

Applies to