2 instantiations of OptionsCache
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerExtensions.Obsolete.cs (1)
159
OptionsCache<ConsoleLoggerOptions> cache =
new
();
Microsoft.Extensions.Options (1)
OptionsManager.cs (1)
19
private readonly OptionsCache<TOptions> _cache = new
OptionsCache
<TOptions>(); // Note: this is a private cache
5 references to OptionsCache
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerExtensions.Obsolete.cs (1)
159
OptionsCache
<ConsoleLoggerOptions> cache = new();
Microsoft.Extensions.Options (4)
OptionsCache.cs (1)
55
if (GetType() != typeof(
OptionsCache
<TOptions>))
OptionsManager.cs (1)
19
private readonly
OptionsCache
<TOptions> _cache = new OptionsCache<TOptions>(); // Note: this is a private cache
OptionsMonitor.cs (1)
91
if (_cache is not
OptionsCache
<TOptions> optionsCache)
OptionsServiceCollectionExtensions.cs (1)
30
services.TryAdd(ServiceDescriptor.Singleton(typeof(IOptionsMonitorCache<>), typeof(
OptionsCache
<>)));