שתף באמצעות


ConfigurationReloadToken Class

Definition

Propagates notifications that a configuration change has occurred.

public ref class ConfigurationReloadToken : Microsoft::Extensions::Primitives::IChangeToken
public class ConfigurationReloadToken : Microsoft.Extensions.Primitives.IChangeToken
type ConfigurationReloadToken = class
    interface IChangeToken
Public Class ConfigurationReloadToken
Implements 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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to