4 implementations of GetReloadToken
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostConfiguration.cs (1)
116public IChangeToken GetReloadToken() => _changeToken;
Microsoft.Extensions.Configuration (3)
ConfigurationManager.cs (1)
100IChangeToken IConfiguration.GetReloadToken() => _changeToken;
ConfigurationRoot.cs (1)
66public IChangeToken GetReloadToken() => _changeToken;
ConfigurationSection.cs (1)
101public IChangeToken GetReloadToken() => _root.GetReloadToken();
14 references to GetReloadToken
Microsoft.AspNetCore.FunctionalTests (1)
WebApplicationFunctionalTests.cs (1)
140using var registration = app.Configuration.GetReloadToken().RegisterChangeCallback(
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelConfigurationLoader.cs (1)
320var configToken = Configuration.GetReloadToken();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerTests.cs (2)
783mockConfig.Setup(c => c.GetReloadToken()).Returns(() => mockChangeToken.Object); 967mockConfig.Verify(c => c.GetReloadToken(), Times.Never);
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
KestrelConfigurationLoaderTests.cs (1)
52mockConfig.Setup(c => c.GetReloadToken()).Returns(mockReloadToken.Object);
Microsoft.Extensions.Configuration (2)
ChainedConfigurationProvider.cs (1)
58public IChangeToken GetReloadToken() => _config.GetReloadToken();
ConfigurationSection.cs (1)
101public IChangeToken GetReloadToken() => _root.GetReloadToken();
Microsoft.Extensions.Configuration.KeyPerFile.Tests (3)
KeyPerFileTests.cs (3)
330var changeToken = config.GetReloadToken(); 360var changeToken = config.GetReloadToken(); 385var changeToken = config.GetReloadToken();
Microsoft.Extensions.Logging.Console (1)
ConfigurationConsoleLoggerSettings.cs (1)
27ChangeToken = configuration.GetReloadToken();
Microsoft.Extensions.Options.ConfigurationExtensions (1)
ConfigurationChangeTokenSource.cs (1)
51return _config.GetReloadToken();
Microsoft.Extensions.ServiceDiscovery (2)
Configuration\ConfigurationServiceEndpointProvider.cs (2)
67endpoints.AddChangeToken(_configuration.GetReloadToken()); 72endpoints.AddChangeToken(section.GetReloadToken());