Note

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

Access to this page requires authorization. You can try .

ChangeToken Class

Definition

Namespace:
Microsoft.Extensions.Primitives
Assembly:
Microsoft.Extensions.Primitives.dll
Package:
Microsoft.Extensions.Primitives v11.0.0-preview.5.26302.115
Source:
ChangeToken.cs
Source:
ChangeToken.cs
Source:
ChangeToken.cs
Source:
ChangeToken.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 ref class ChangeToken abstract sealed
public static class ChangeToken
type ChangeToken = class
Public Class ChangeToken
Inheritance
ChangeToken

Methods

Name Description
OnChange(Func<IChangeToken>, Action)

Registers the changeTokenConsumer action to be called whenever the token produced changes.

OnChange<TState>(Func<IChangeToken>, Action<TState>, TState)

Registers the changeTokenConsumer action to be called whenever the token produced changes.

Applies to


Feedback

Was this page helpful?