Поделиться через


CookieTempDataProvider Конструкторы

Определение

Перегрузки

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

Инициализирует новый экземпляр 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))

Параметры

dataProtectionProvider
IDataProtectionProvider

Применяется к

CookieTempDataProvider(IDataProtectionProvider, ILoggerFactory, IOptions<CookieTempDataProviderOptions>)

Исходный код:
CookieTempDataProvider.cs
Исходный код:
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))

Параметры

dataProtectionProvider
IDataProtectionProvider
loggerFactory
ILoggerFactory

Применяется к

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

Исходный код:
CookieTempDataProvider.cs

Инициализирует новый экземпляр 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)

Параметры

Применяется к