Freigeben über


CookieTempDataProvider Konstruktoren

Definition

Überlädt

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

Initialisiert eine neue Instanz von 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))

Parameter

dataProtectionProvider
IDataProtectionProvider

Gilt für:

CookieTempDataProvider(IDataProtectionProvider, ILoggerFactory, IOptions<CookieTempDataProviderOptions>)

Quelle:
CookieTempDataProvider.cs
Quelle:
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))

Parameter

dataProtectionProvider
IDataProtectionProvider
loggerFactory
ILoggerFactory

Gilt für:

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

Quelle:
CookieTempDataProvider.cs

Initialisiert eine neue Instanz von 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)

Parameter

dataProtectionProvider
IDataProtectionProvider

Die IDataProtectionProvider.

loggerFactory
ILoggerFactory

Die ILoggerFactory.

tempDataSerializer
TempDataSerializer

Die TempDataSerializer.

Gilt für: