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