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