C# Класс ProCenter.Mvc.Controllers.BaseController

Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
AddLookupRequests ( Infrastructure.Service.IAsyncRequestDispatcher asyncRequestDispatcher, Type dtoType ) : void

Adds the lookup requests.

AddLookupResponsesToViewData ( Infrastructure.Service.IAsyncRequestDispatcher asyncRequestDispatcher ) : void

Adds the lookup responses to view data.

CreateAsyncRequestDispatcher ( ) : Infrastructure.Service.IAsyncRequestDispatcher

Creates the async request dispatcher.

Защищенные методы

Метод Описание
BaseController ( IRequestDispatcherFactory requestDispatcherFactory ) : System

Initializes a new instance of the BaseController class.

OnActionExecuted ( ActionExecutedContext filterContext ) : void

Called after the action method is invoked.

Описание методов

AddLookupRequests() публичный Метод

Adds the lookup requests.
public AddLookupRequests ( Infrastructure.Service.IAsyncRequestDispatcher asyncRequestDispatcher, Type dtoType ) : void
asyncRequestDispatcher Infrastructure.Service.IAsyncRequestDispatcher The asynchronous request dispatcher.
dtoType Type Type of the dto.
Результат void

AddLookupResponsesToViewData() публичный Метод

Adds the lookup responses to view data.
public AddLookupResponsesToViewData ( Infrastructure.Service.IAsyncRequestDispatcher asyncRequestDispatcher ) : void
asyncRequestDispatcher Infrastructure.Service.IAsyncRequestDispatcher The asynchronous request dispatcher.
Результат void

BaseController() защищенный Метод

Initializes a new instance of the BaseController class.
protected BaseController ( IRequestDispatcherFactory requestDispatcherFactory ) : System
requestDispatcherFactory IRequestDispatcherFactory The request dispatcher factory.
Результат System

CreateAsyncRequestDispatcher() публичный Метод

Creates the async request dispatcher.
public CreateAsyncRequestDispatcher ( ) : Infrastructure.Service.IAsyncRequestDispatcher
Результат Infrastructure.Service.IAsyncRequestDispatcher

OnActionExecuted() защищенный Метод

Called after the action method is invoked.
protected OnActionExecuted ( ActionExecutedContext filterContext ) : void
filterContext ActionExecutedContext Information about the current request and action.
Результат void