Interface IChangeToken
Namespace: Microsoft.Extensions.Primitives
Assembly: Microsoft.Extensions.Primitives.dll
Syntax
public interface IChangeToken
Properties
ActiveChangeCallbacks
Declaration
bool ActiveChangeCallbacks { get; }
Property Value
Type | Description |
---|---|
bool |
HasChanged
Declaration
bool HasChanged { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
RegisterChangeCallback(Action<object?>, object?)
Declaration
IDisposable RegisterChangeCallback(Action<object?> callback, object? state)
Parameters
Type | Name | Description |
---|---|---|
Action<object> | callback | |
object | state |
Returns
Type | Description |
---|---|
IDisposable |