<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="10.0.3" />

Microsoft.Extensions.Options.ConfigurationChangeTokenSource<TOptions>

public class ConfigurationChangeTokenSource<TOptions> : IOptionsChangeTokenSource<TOptions>
Creates IChangeTokens so that IOptionsMonitor<T> gets notified when IConfiguration changes.
public string Name { get; }

The name of the option instance being changed.

public ConfigurationChangeTokenSource(IConfiguration config)

Constructor taking the IConfiguration instance to watch.

public ConfigurationChangeTokenSource(string name, IConfiguration config)

Constructor taking the IConfiguration instance to watch.

public IChangeToken GetChangeToken()

Returns the reloadToken from the IConfiguration.