Share via


ModelReloadToken Class

Definition

Implements IChangeToken

public class ModelReloadToken : Microsoft.Extensions.Primitives.IChangeToken
type ModelReloadToken = class
    interface IChangeToken
Public Class ModelReloadToken
Implements IChangeToken
Inheritance
ModelReloadToken
Implements

Constructors

ModelReloadToken()

Properties

ActiveChangeCallbacks

Indicates if this token will proactively raise callbacks.

HasChanged

Gets a value that indicates if a change has occurred.

Methods

OnReload()

Used to trigger 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