Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IChangeToken Interface

Definition

Namespace:
Microsoft.Extensions.Primitives
Assembly:
Microsoft.Extensions.Primitives.dll
Package:
Microsoft.Extensions.Primitives v11.0.0-preview.5.26302.115
Source:
IChangeToken.cs
Source:
IChangeToken.cs
Source:
IChangeToken.cs
Source:
IChangeToken.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Propagates notifications that a change has occurred.

public interface class IChangeToken
public interface IChangeToken
type IChangeToken = interface
Public Interface IChangeToken
Derived

Properties

Name Description
ActiveChangeCallbacks

Gets a value that indicates whether this token will proactively raise callbacks. If false, the token consumer must poll HasChanged to detect changes.

HasChanged

Gets a value that indicates if a change has occurred.

Methods

Name Description
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


Feedback

Was this page helpful?