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