1 implementation of IOptionsMonitorCache
Microsoft.Extensions.Options (1)
OptionsCache.cs (1)
15IOptionsMonitorCache<TOptions>
5 references to IOptionsMonitorCache
DynamicSchemes (2)
Controllers\AuthController.cs (2)
15private readonly IOptionsMonitorCache<SimpleOptions> _optionsCache; 17public AuthController(IAuthenticationSchemeProvider schemeProvider, IOptionsMonitorCache<SimpleOptions> optionsCache)
Microsoft.Extensions.Options (3)
OptionsMonitor.cs (2)
20private readonly IOptionsMonitorCache<TOptions> _cache; 31public OptionsMonitor(IOptionsFactory<TOptions> factory, IEnumerable<IOptionsChangeTokenSource<TOptions>> sources, IOptionsMonitorCache<TOptions> cache)
OptionsServiceCollectionExtensions.cs (1)
30services.TryAdd(ServiceDescriptor.Singleton(typeof(IOptionsMonitorCache<>), typeof(OptionsCache<>)));