C# Class Dts.Mvc.Controllers.BaseController

Inheritance: Controller
Afficher le fichier Open project: dtsagile/backbone-demo

Méthodes publiques

Méthode Description
BaseController ( ILogger logger ) : System

Méthodes protégées

Méthode Description
Initialize ( System requestContext ) : void

Initialization goodness. Once it's spun up and has the request, we set the ViewBag.HasSession property so we can use that in views... better and more authoritative than Request.IsAuthenticated which has issues at times

Method Details

BaseController() public méthode

public BaseController ( ILogger logger ) : System
logger ILogger
Résultat System

Initialize() protected méthode

Initialization goodness. Once it's spun up and has the request, we set the ViewBag.HasSession property so we can use that in views... better and more authoritative than Request.IsAuthenticated which has issues at times
protected Initialize ( System requestContext ) : void
requestContext System
Résultat void