FileSystemXmlRepository Constructors

Definition

Overloads

FileSystemXmlRepository(DirectoryInfo)

Creates a FileSystemXmlRepository with keys stored at the given directory.

FileSystemXmlRepository(DirectoryInfo, ILoggerFactory)

Creates a FileSystemXmlRepository with keys stored at the given directory.

FileSystemXmlRepository(DirectoryInfo, IServiceProvider)

Creates a FileSystemXmlRepository with keys stored at the given directory.

FileSystemXmlRepository(DirectoryInfo)

Creates a FileSystemXmlRepository with keys stored at the given directory.

public:
 FileSystemXmlRepository(System::IO::DirectoryInfo ^ directory);
public FileSystemXmlRepository (System.IO.DirectoryInfo directory);
new Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository : System.IO.DirectoryInfo -> Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository
Public Sub New (directory As DirectoryInfo)

Parameters

directory
DirectoryInfo

The directory in which to persist key material.

Applies to

FileSystemXmlRepository(DirectoryInfo, ILoggerFactory)

Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs
Source:
FileSystemXmlRepository.cs

Creates a FileSystemXmlRepository with keys stored at the given directory.

public:
 FileSystemXmlRepository(System::IO::DirectoryInfo ^ directory, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public FileSystemXmlRepository (System.IO.DirectoryInfo directory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository : System.IO.DirectoryInfo * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository
Public Sub New (directory As DirectoryInfo, loggerFactory As ILoggerFactory)

Parameters

directory
DirectoryInfo

The directory in which to persist key material.

loggerFactory
ILoggerFactory

The ILoggerFactory.

Applies to

FileSystemXmlRepository(DirectoryInfo, IServiceProvider)

Creates a FileSystemXmlRepository with keys stored at the given directory.

public:
 FileSystemXmlRepository(System::IO::DirectoryInfo ^ directory, IServiceProvider ^ services);
public FileSystemXmlRepository (System.IO.DirectoryInfo directory, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository : System.IO.DirectoryInfo * IServiceProvider -> Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository
Public Sub New (directory As DirectoryInfo, services As IServiceProvider)

Parameters

directory
DirectoryInfo

The directory in which to persist key material.

services
IServiceProvider

An optional IServiceProvider to provide ancillary services.

Applies to