1 type derived from FileSystemXmlRepository
Microsoft.AspNetCore.DataProtection (1)
Internal\KeyManagementOptionsPostSetup.cs (1)
105private sealed class ReadOnlyFileSystemXmlRepository : FileSystemXmlRepository
14 instantiations of FileSystemXmlRepository
Microsoft.AspNetCore.DataProtection (3)
DataProtectionBuilderExtensions.cs (1)
178options.XmlRepository = new FileSystemXmlRepository(directory, loggerFactory);
KeyManagement\XmlKeyManager.cs (2)
658repository = new FileSystemXmlRepository(azureWebSitesKeysFolder, _loggerFactory); 676repository = new FileSystemXmlRepository(localAppDataKeysFolder, _loggerFactory);
Microsoft.AspNetCore.DataProtection.Tests (11)
Internal\KeyManagementOptionsPostSetupTest.cs (1)
89XmlRepository = new FileSystemXmlRepository(xmlDir, NullLoggerFactory.Instance),
Repositories\FileSystemXmlRepositoryTests.cs (10)
36var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 52var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 69var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 99var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 127var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 150var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 199var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 251var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 287var repo = new FileSystemXmlRepository(dirInfo, loggerFactory); 302var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance);
18 references to FileSystemXmlRepository
Microsoft.AspNetCore.DataProtection (2)
Repositories\FileSystemXmlRepository.cs (2)
25/// Creates a <see cref="FileSystemXmlRepository"/> with keys stored at the given directory. 33_logger = loggerFactory.CreateLogger<FileSystemXmlRepository>();
Microsoft.AspNetCore.DataProtection.Tests (16)
Internal\KeyManagementOptionsPostSetupTest.cs (3)
161var repository = options.XmlRepository as FileSystemXmlRepository; 184Assert.NotEqual(keyDir, (repository as FileSystemXmlRepository)?.Directory.FullName);
Repositories\FileSystemXmlRepositoryTests.cs (11)
24var defaultDirInfo = FileSystemXmlRepository.DefaultKeyStorageDirectory; 36var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 52var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 69var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 99var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 127var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 150var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 199var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 251var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance); 287var repo = new FileSystemXmlRepository(dirInfo, loggerFactory); 302var repository = new FileSystemXmlRepository(dirInfo, NullLoggerFactory.Instance);
ServiceCollectionTests.cs (2)
93var repository = options.XmlRepository as FileSystemXmlRepository;