Dela via


SessionStateTempDataProvider Class

Definition

Provides session-state data to the current ITempDataDictionary object.

public ref class SessionStateTempDataProvider : Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataProvider
public class SessionStateTempDataProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataProvider
type SessionStateTempDataProvider = class
    interface ITempDataProvider
Public Class SessionStateTempDataProvider
Implements ITempDataProvider
Inheritance
SessionStateTempDataProvider
Implements

Constructors

SessionStateTempDataProvider()
SessionStateTempDataProvider(TempDataSerializer)

Initializes a new instance of SessionStateTempDataProvider.

Methods

LoadTempData(HttpContext)

Loads the temporary data.

SaveTempData(HttpContext, IDictionary<String,Object>)

Saves the temporary data.

Applies to