Op Englesch liesen

Deelen iwwer


LoggerProviderOptionsChangeTokenSource<TOptions,TProvider> Class

Definition

Creates IChangeTokens so that IOptionsMonitor<TOptions> gets notified when IConfiguration changes.

C#
public class LoggerProviderOptionsChangeTokenSource<TOptions,TProvider> : Microsoft.Extensions.Options.ConfigurationChangeTokenSource<TOptions>

Type Parameters

TOptions
TProvider
Inheritance
LoggerProviderOptionsChangeTokenSource<TOptions,TProvider>

Constructors

Properties

Name

The name of the option instance being changed.

(Inherited from ConfigurationChangeTokenSource<TOptions>)

Methods

GetChangeToken()

Returns the reloadToken from the IConfiguration.

(Inherited from ConfigurationChangeTokenSource<TOptions>)

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)