Partager via


CookieTempDataProvider Constructeurs

Définition

Surcharges

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

Initialise une nouvelle instance de CookieTempDataProvider.

CookieTempDataProvider(IDataProtectionProvider, IOptions<CookieTempDataProviderOptions>)

public:
 CookieTempDataProvider(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::CookieTempDataProviderOptions ^> ^ options);
public CookieTempDataProvider (Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> options);
new Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> -> Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider
Public Sub New (dataProtectionProvider As IDataProtectionProvider, options As IOptions(Of CookieTempDataProviderOptions))

Paramètres

dataProtectionProvider
IDataProtectionProvider

S’applique à

CookieTempDataProvider(IDataProtectionProvider, ILoggerFactory, IOptions<CookieTempDataProviderOptions>)

Source:
CookieTempDataProvider.cs
Source:
CookieTempDataProvider.cs
public:
 CookieTempDataProvider(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::CookieTempDataProviderOptions ^> ^ options);
public CookieTempDataProvider (Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> options);
new Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> -> Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider
Public Sub New (dataProtectionProvider As IDataProtectionProvider, loggerFactory As ILoggerFactory, options As IOptions(Of CookieTempDataProviderOptions))

Paramètres

dataProtectionProvider
IDataProtectionProvider
loggerFactory
ILoggerFactory

S’applique à

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

Source:
CookieTempDataProvider.cs

Initialise une nouvelle instance de CookieTempDataProvider.

public:
 CookieTempDataProvider(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::CookieTempDataProviderOptions ^> ^ options, Microsoft::AspNetCore::Mvc::ViewFeatures::Infrastructure::TempDataSerializer ^ tempDataSerializer);
public CookieTempDataProvider (Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> options, Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer);
new Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.CookieTempDataProviderOptions> * Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer -> Microsoft.AspNetCore.Mvc.ViewFeatures.CookieTempDataProvider
Public Sub New (dataProtectionProvider As IDataProtectionProvider, loggerFactory As ILoggerFactory, options As IOptions(Of CookieTempDataProviderOptions), tempDataSerializer As TempDataSerializer)

Paramètres

dataProtectionProvider
IDataProtectionProvider

L’IDataProtectionProvideropérateur

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

tempDataSerializer
TempDataSerializer

L’TempDataSerializeropérateur

S’applique à