IControllerFactory.CreateController(RequestContext, String) Метод

Определение

Создает указанный контроллер, используя заданный контекст запроса.

public System.Web.Mvc.IController CreateController (System.Web.Routing.RequestContext requestContext, string controllerName);
abstract member CreateController : System.Web.Routing.RequestContext * string -> System.Web.Mvc.IController
Public Function CreateController (requestContext As RequestContext, controllerName As String) As IController

Параметры

requestContext
RequestContext

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

controllerName
String

Имя контроллера.

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

Контроллер.

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