C# Класс Dts.Mvc.Controllers.BaseController

Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
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