<PackageReference Include="Microsoft.Extensions.Primitives" Version="11.0.0-preview.7.26381.103" />

Microsoft.Extensions.Primitives.CompositeChangeToken

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

Gets a value that indicates whether any of the inner IChangeToken instances will proactively raise callbacks.

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)