C# Class Dts.Mvc.Controllers.BaseController

Inheritance: Controller
ファイルを表示 Open project: dtsagile/backbone-demo

Public Methods

Method Description
BaseController ( ILogger logger ) : System

Protected Methods

Method 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 method

public BaseController ( ILogger logger ) : System
logger ILogger
return System

Initialize() protected method

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