RegistryXmlRepository 构造函数

定义

重载

RegistryXmlRepository(RegistryKey)

RegistryXmlRepository使用给定注册表项中存储的键创建 。

RegistryXmlRepository(RegistryKey, ILoggerFactory)

RegistryXmlRepository使用给定注册表项中存储的键创建 。

RegistryXmlRepository(RegistryKey, IServiceProvider)

RegistryXmlRepository使用给定注册表项中存储的键创建 。

RegistryXmlRepository(RegistryKey)

RegistryXmlRepository使用给定注册表项中存储的键创建 。

public:
 RegistryXmlRepository(Microsoft::Win32::RegistryKey ^ registryKey);
public RegistryXmlRepository (Microsoft.Win32.RegistryKey registryKey);
new Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository : Microsoft.Win32.RegistryKey -> Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository
Public Sub New (registryKey As RegistryKey)

参数

registryKey
RegistryKey

要在其中保留密钥材料的注册表项。

适用于

RegistryXmlRepository(RegistryKey, ILoggerFactory)

Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs
Source:
RegistryXmlRepository.cs

RegistryXmlRepository使用给定注册表项中存储的键创建 。

public:
 RegistryXmlRepository(Microsoft::Win32::RegistryKey ^ registryKey, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public RegistryXmlRepository (Microsoft.Win32.RegistryKey registryKey, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository : Microsoft.Win32.RegistryKey * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository
Public Sub New (registryKey As RegistryKey, loggerFactory As ILoggerFactory)

参数

registryKey
RegistryKey

要在其中保留密钥材料的注册表项。

loggerFactory
ILoggerFactory

ILoggerFactory

适用于

RegistryXmlRepository(RegistryKey, IServiceProvider)

RegistryXmlRepository使用给定注册表项中存储的键创建 。

public:
 RegistryXmlRepository(Microsoft::Win32::RegistryKey ^ registryKey, IServiceProvider ^ services);
public RegistryXmlRepository (Microsoft.Win32.RegistryKey registryKey, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository : Microsoft.Win32.RegistryKey * IServiceProvider -> Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository
Public Sub New (registryKey As RegistryKey, services As IServiceProvider)

参数

registryKey
RegistryKey

要在其中保留密钥材料的注册表项。

services
IServiceProvider

IServiceProvider用于解析服务的 。

适用于