IChangeToken
Propagates notifications that a change has occurred.
using System;
using System.Runtime.CompilerServices;
namespace Microsoft.Extensions.Primitives
{
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IChangeToken
{
bool HasChanged { get; }
bool ActiveChangeCallbacks { get; }
IDisposable RegisterChangeCallback([System.Runtime.CompilerServices.Nullable(new byte[] {
1,
2
})] Action<object> callback, [System.Runtime.CompilerServices.Nullable(2)] object state);
}
}