C# Класс Sakura.AspNetCore.Mvc.EnhancedSessionStateTempDataProvider

Enhanced session-state based temp data provider which can be used to save and load complex data objects.
Наследование: SessionStateTempDataProvider
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

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

Метод Описание
EnhancedSessionStateTempDataProvider ( IObjectSerializer objectSerializer ) : System.Collections.Generic

Initialize an new instance with required services.

LoadTempData ( HttpContext context ) : object>.IDictionary

Load temp data dictionary from the specified HttpContext object.

SaveTempData ( HttpContext context, object>.IDictionary values ) : void

Save temp data dictionary to the specified HttpContext object.

Описание методов

EnhancedSessionStateTempDataProvider() публичный Метод

Initialize an new instance with required services.
public EnhancedSessionStateTempDataProvider ( IObjectSerializer objectSerializer ) : System.Collections.Generic
objectSerializer IObjectSerializer The required object serializer service.
Результат System.Collections.Generic

LoadTempData() публичный Метод

Load temp data dictionary from the specified HttpContext object.
public LoadTempData ( HttpContext context ) : object>.IDictionary
context HttpContext The object.
Результат object>.IDictionary

SaveTempData() публичный Метод

Save temp data dictionary to the specified HttpContext object.
public SaveTempData ( HttpContext context, object>.IDictionary values ) : void
context HttpContext The object.
values object>.IDictionary The temp data dictionary to be saving.
Результат void