C# 클래스 Dts.Mvc.Controllers.BaseController

상속: Controller
파일 보기 프로젝트 열기: dtsagile/backbone-demo

공개 메소드들

메소드 설명
BaseController ( ILogger logger ) : System

보호된 메소드들

메소드 설명
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

메소드 상세

BaseController() 공개 메소드

public BaseController ( ILogger logger ) : System
logger ILogger
리턴 System

Initialize() 보호된 메소드

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
리턴 void