Op Englesch liesen

Deelen iwwer


ConfigurationReloadToken Class

Definition

Propagates notifications that a configuration change has occurred.

C#
public class ConfigurationReloadToken : Microsoft.Extensions.Primitives.IChangeToken
Inheritance
ConfigurationReloadToken
Implements

Constructors

ConfigurationReloadToken()

Initializes a new instance of ConfigurationReloadToken.

Properties

ActiveChangeCallbacks

Gets a value that indicates whether this token proactively raises callbacks. Callbacks are still guaranteed to be invoked, eventually.

HasChanged

Gets a value that indicates if a change has occurred.

Methods

OnReload()

Triggers the change token when a reload occurs.

RegisterChangeCallback(Action<Object>, Object)

Registers for a callback that will be invoked when the entry has changed. HasChanged MUST be set before the callback is invoked.

Applies to

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