IControllerActivator.Create(RequestContext, Type) Метод

Определение

При реализации в классе создает контроллер.

public System.Web.Mvc.IController Create (System.Web.Routing.RequestContext requestContext, Type controllerType);
abstract member Create : System.Web.Routing.RequestContext * Type -> System.Web.Mvc.IController
Public Function Create (requestContext As RequestContext, controllerType As Type) As IController

Параметры

requestContext
RequestContext

Контекст запроса.

controllerType
Type

Тип контроллера.

Возвращаемое значение

Созданный контроллер.

Применяется к