C# Class ProCenter.Mvc.Controllers.BaseController

Inheritance: Controller
Afficher le fichier Open project: obhita/PROCenter

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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.
Résultat void

AddLookupResponsesToViewData() public méthode

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

BaseController() protected méthode

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

CreateAsyncRequestDispatcher() public méthode

Creates the async request dispatcher.
public CreateAsyncRequestDispatcher ( ) : Infrastructure.Service.IAsyncRequestDispatcher
Résultat Infrastructure.Service.IAsyncRequestDispatcher

OnActionExecuted() protected méthode

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