<PackageReference Include="Microsoft.Extensions.Primitives" Version="10.0.0-preview.5.25277.114" />

CompositeChangeToken

An IChangeToken that represents one or more IChangeToken instances.
public bool ActiveChangeCallbacks { get; }

Returns the list of IChangeToken that compose the current CompositeChangeToken.

public bool HasChanged { get; }

Creates a new instance of CompositeChangeToken.

public IDisposable RegisterChangeCallback(Action<object> callback, object state)