1 interface inheriting from IXmlRepository
Microsoft.AspNetCore.DataProtection (1)
Repositories\IDeletableXmlRepository.cs (1)
13public interface IDeletableXmlRepository : IXmlRepository
7 implementations of IXmlRepository
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (1)
EntityFrameworkCoreXmlRepository.cs (1)
17public class EntityFrameworkCoreXmlRepository<TContext> : IXmlRepository
Microsoft.AspNetCore.DataProtection.StackExchangeRedis (1)
RedisXmlRepository.cs (1)
16public class RedisXmlRepository : IXmlRepository
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
1001private sealed class XmlRepositoryWithoutDeletion : IXmlRepository
Microsoft.AspNetCore.Http.Connections.Tests (1)
src\SignalR\common\Shared\EphemeralDataProtectionProvider.cs (1)
9internal sealed class EphemeralXmlRepository : IXmlRepository
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
src\SignalR\common\Shared\EphemeralDataProtectionProvider.cs (1)
9internal sealed class EphemeralXmlRepository : IXmlRepository
Microsoft.AspNetCore.SignalR.Tests (1)
src\SignalR\common\Shared\EphemeralDataProtectionProvider.cs (1)
9internal sealed class EphemeralXmlRepository : IXmlRepository
SignalR.Client.FunctionalTestApp (1)
src\SignalR\common\Shared\EphemeralDataProtectionProvider.cs (1)
9internal sealed class EphemeralXmlRepository : IXmlRepository
32 references to IXmlRepository
KeyManagementSimulator (4)
Program.cs (4)
326public AppInstance(int instanceNumber, IXmlEncryptor encryptor, IXmlDecryptor decryptor, IXmlRepository repository, Random productRandom) 520sealed class FlakyXmlRepository(Random random, double pFail) : FlakyObject(random, pFail), IXmlRepository 530IReadOnlyCollection<XElement> IXmlRepository.GetAllElements() 538void IXmlRepository.StoreElement(XElement element, string _friendlyName)
Microsoft.AspNetCore.DataProtection (13)
KeyManagement\IDeletableKeyManager.cs (1)
17/// Indicates whether this key manager and the underlying <see cref="Repositories.IXmlRepository"/> support key deletion.
KeyManagement\IKeyEscrowSink.cs (2)
14/// <see cref="IKeyEscrowSink"/> is distinct from <see cref="IXmlRepository"/> in that 16/// while <see cref="IXmlRepository"/> provides a read+write interface and instances handle encrypted key material.
KeyManagement\KeyManagementOptions.cs (2)
152/// The <see cref="IXmlRepository"/> to use for storing and retrieving XML elements. 154public IXmlRepository? XmlRepository { get; set; }
KeyManagement\XmlKeyManager.cs (6)
33/// A key manager backed by an <see cref="IXmlRepository"/>. 98var keyRepository = keyManagementOptions.Value.XmlRepository; 138internal IXmlRepository KeyRepository { get; } 645internal KeyValuePair<IXmlRepository, IXmlEncryptor?> GetFallbackKeyRepositoryEncryptorPair() 647IXmlRepository? repository; 718return new KeyValuePair<IXmlRepository, IXmlEncryptor?>(repository, encryptor);
Repositories\IDeletableElement.cs (1)
9/// Represents an XML element in an <see cref="IXmlRepository"/> that can be deleted.
Repositories\IDeletableXmlRepository.cs (1)
11/// An extension of <see cref="IXmlRepository"/> that supports deletion of elements.
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (1)
EntityFrameworkCoreXmlRepository.cs (1)
15/// An <see cref="IXmlRepository"/> backed by an EntityFrameworkCore datastore.
Microsoft.AspNetCore.DataProtection.Tests (14)
Internal\KeyManagementOptionsPostSetupTest.cs (1)
180var repository = options.XmlRepository;
KeyManagement\XmlKeyManagerTests.cs (13)
93var mockXmlRepository = new Mock<IXmlRepository>(); 182var mockXmlRepository = new Mock<IXmlRepository>(); 308XmlRepository = new Mock<IXmlRepository>().Object, 598var mockXmlRepository = new Mock<IXmlRepository>(); 618var mockXmlRepository = new Mock<IXmlRepository>(); 668var mockXmlRepository = new Mock<IXmlRepository>(); 735XmlRepository = new Mock<IXmlRepository>().Object, 894var respository = new Mock<IXmlRepository>(); 1003public static readonly IXmlRepository Instance = new XmlRepositoryWithoutDeletion(); 1007IReadOnlyCollection<XElement> IXmlRepository.GetAllElements() => []; 1008void IXmlRepository.StoreElement(XElement element, string friendlyName) => throw new InvalidOperationException(); 1017IReadOnlyCollection<XElement> IXmlRepository.GetAllElements() => []; 1018void IXmlRepository.StoreElement(XElement element, string friendlyName) => throw new InvalidOperationException();