ControllerBuilder.SetControllerFactory Method (IControllerFactory)

Sets the specified controller factory.

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

public void SetControllerFactory(
	IControllerFactory controllerFactory
)

Parameters

controllerFactory
Type: System.Web.Mvc.IControllerFactory

The controller factory.

ExceptionCondition
ArgumentNullException

The controllerFactory parameter is null.

Show: