2 types derived from ReferenceCountedProviders
Microsoft.Extensions.Configuration (2)
ReferenceCountedProviders.cs (2)
32private sealed class ActiveReferenceCountedProviders : ReferenceCountedProviders 79private sealed class DisposedReferenceCountedProviders : ReferenceCountedProviders
14 references to ReferenceCountedProviders
Microsoft.Extensions.Configuration (14)
ConfigurationManager.cs (4)
57using ReferenceCountedProviders reference = _providerManager.GetReference(); 62using ReferenceCountedProviders reference = _providerManager.GetReference(); 104using (ReferenceCountedProviders reference = _providerManager.GetReference()) 115internal ReferenceCountedProviders GetProvidersReference() => _providerManager.GetReference();
InternalConfigurationRootExtensions.cs (1)
23using ReferenceCountedProviders? reference = (root as ConfigurationManager)?.GetProvidersReference();
ReferenceCountedProviders.cs (2)
14public static ReferenceCountedProviders Create(List<IConfigurationProvider> providers) => new ActiveReferenceCountedProviders(providers); 19public static ReferenceCountedProviders CreateDisposed(List<IConfigurationProvider> providers) => new DisposedReferenceCountedProviders(providers);
ReferenceCountedProvidersManager.cs (7)
15private ReferenceCountedProviders _refCountedProviders = ReferenceCountedProviders.Create(new List<IConfigurationProvider>()); 21public ReferenceCountedProviders GetReference() 32return ReferenceCountedProviders.CreateDisposed(_refCountedProviders.NonReferenceCountedProviders); 43ReferenceCountedProviders oldRefCountedProviders = _refCountedProviders; 52_refCountedProviders = ReferenceCountedProviders.Create(providers); 80ReferenceCountedProviders oldRefCountedProviders = _refCountedProviders;