Method | Description | |
---|---|---|
ClientControllerFactory ( ) : System | ||
Create ( |
Method | Description | |
---|---|---|
GetControllerInstance ( System requestContext, |
Получаем контроллер, делая resolve зависимостей с Ninject
|
Method | Description | |
---|---|---|
AddBindings ( ) : void |
Настраиваем контейнер
|
public Create ( |
||
request | ||
controllerDescriptor | System | |
controllerType | ||
return | System.Web.Http.Controllers.IHttpController |
protected GetControllerInstance ( System requestContext, |
||
requestContext | System | |
controllerType | ||
return | System.Web.Mvc.IController |