CookieTempDataProvider Class

Definition

Provides data from cookie to the current ITempDataDictionary object.

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

Constructors

CookieTempDataProvider(IDataProtectionProvider, ILoggerFactory, IOptions<CookieTempDataProviderOptions>)
CookieTempDataProvider(IDataProtectionProvider, ILoggerFactory, IOptions<CookieTempDataProviderOptions>, TempDataSerializer)
CookieTempDataProvider(IDataProtectionProvider, IOptions<CookieTempDataProviderOptions>)

Fields

CookieName

Methods

LoadTempData(HttpContext)
SaveTempData(HttpContext, IDictionary<String,Object>)

Applies to