2 types derived from ConfigurationChangeTokenSource
Microsoft.Extensions.Logging.Configuration (1)
LoggerProviderOptionsChangeTokenSource.cs (1)
9public class LoggerProviderOptionsChangeTokenSource<TOptions, TProvider> : ConfigurationChangeTokenSource<TOptions>
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerExtensions.cs (1)
191internal sealed class ConsoleLoggerFormatterOptionsChangeTokenSource<TFormatter, TOptions> : ConfigurationChangeTokenSource<TOptions>
10 instantiations of ConfigurationChangeTokenSource
HostFilteringSample (1)
Startup.cs (1)
37services.AddSingleton<IOptionsChangeTokenSource<HostFilteringOptions>>(new ConfigurationChangeTokenSource<HostFilteringOptions>(Config));
Microsoft.AspNetCore (1)
WebHost.cs (1)
266new ConfigurationChangeTokenSource<HostFilteringOptions>(hostingContext.Configuration));
Microsoft.AspNetCore.HostFiltering.Tests (1)
HostFilteringMiddlewareTests.cs (1)
242services.AddSingleton<IOptionsChangeTokenSource<HostFilteringOptions>>(new ConfigurationChangeTokenSource<HostFilteringOptions>(config));
Microsoft.Extensions.Diagnostics (1)
Metrics\Configuration\MetricsBuilderConfigurationExtensions.cs (1)
38builder.Services.AddSingleton<IOptionsChangeTokenSource<MetricsOptions>>(new ConfigurationChangeTokenSource<MetricsOptions>(configuration));
Microsoft.Extensions.Logging.AzureAppServices (3)
AzureAppServicesLoggerFactoryExtensions.cs (3)
66new ConfigurationChangeTokenSource<LoggerFilterOptions>(config)); 74new ConfigurationChangeTokenSource<AzureFileLoggerOptions>(config)); 83new ConfigurationChangeTokenSource<AzureBlobLoggerOptions>(config));
Microsoft.Extensions.Logging.Configuration (1)
LoggingBuilderExtensions.cs (1)
27builder.Services.AddSingleton<IOptionsChangeTokenSource<LoggerFilterOptions>>(new ConfigurationChangeTokenSource<LoggerFilterOptions>(configuration));
Microsoft.Extensions.Options.ConfigurationExtensions (2)
OptionsBuilderConfigurationExtensions.cs (1)
83return new ConfigurationChangeTokenSource<TOptions>(optionsBuilder.Name, sp.GetRequiredService<IConfiguration>());
OptionsConfigurationServiceCollectionExtensions.cs (1)
73services.AddSingleton<IOptionsChangeTokenSource<TOptions>>(new ConfigurationChangeTokenSource<TOptions>(name, config));
1 reference to ConfigurationChangeTokenSource
Microsoft.Extensions.Options.ConfigurationExtensions (1)
OptionsBuilderConfigurationExtensions.cs (1)
81optionsBuilder.Services.AddSingleton<IOptionsChangeTokenSource<TOptions>, ConfigurationChangeTokenSource<TOptions>>(sp =>