C# Class ProCenter.Mvc.Controllers.BaseController

Inheritance: Controller
Show file Open project: obhita/PROCenter

Public Methods

Method Description
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.

Protected Methods

Method Description
BaseController ( IRequestDispatcherFactory requestDispatcherFactory ) : System

Initializes a new instance of the BaseController class.

OnActionExecuted ( ActionExecutedContext filterContext ) : void

Called after the action method is invoked.

Method Details

AddLookupRequests() public method

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.
return void

AddLookupResponsesToViewData() public method

Adds the lookup responses to view data.
public AddLookupResponsesToViewData ( Infrastructure.Service.IAsyncRequestDispatcher asyncRequestDispatcher ) : void
asyncRequestDispatcher Infrastructure.Service.IAsyncRequestDispatcher The asynchronous request dispatcher.
return void

BaseController() protected method

Initializes a new instance of the BaseController class.
protected BaseController ( IRequestDispatcherFactory requestDispatcherFactory ) : System
requestDispatcherFactory IRequestDispatcherFactory The request dispatcher factory.
return System

CreateAsyncRequestDispatcher() public method

Creates the async request dispatcher.
public CreateAsyncRequestDispatcher ( ) : Infrastructure.Service.IAsyncRequestDispatcher
return Infrastructure.Service.IAsyncRequestDispatcher

OnActionExecuted() protected method

Called after the action method is invoked.
protected OnActionExecuted ( ActionExecutedContext filterContext ) : void
filterContext ActionExecutedContext Information about the current request and action.
return void