EphemeralDataProtectionProvider 构造函数

定义

重载

EphemeralDataProtectionProvider()

创建临时 IDataProtectionProvider

EphemeralDataProtectionProvider(ILoggerFactory)

使用日志记录创建临时 IDataProtectionProvider

EphemeralDataProtectionProvider(IServiceProvider)

创建临时 IDataProtectionProvider,可以选择 (提供服务,例如日志记录) 供提供程序使用。

EphemeralDataProtectionProvider()

EphemeralDataProtectionProvider(ILoggerFactory)

Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs

使用日志记录创建临时 IDataProtectionProvider

public:
 EphemeralDataProtectionProvider(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public EphemeralDataProtectionProvider (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider
Public Sub New (loggerFactory As ILoggerFactory)

参数

loggerFactory
ILoggerFactory

ILoggerFactory

适用于

EphemeralDataProtectionProvider(IServiceProvider)

创建临时 IDataProtectionProvider,可以选择 (提供服务,例如日志记录) 供提供程序使用。

public:
 EphemeralDataProtectionProvider(IServiceProvider ^ services);
public EphemeralDataProtectionProvider (IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider : IServiceProvider -> Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider
Public Sub New (services As IServiceProvider)

参数

services
IServiceProvider

适用于