Class ConfigurationReloadToken
- Namespace
- Acuit.Pinpoint.Configuration
- Assembly
- Acuit.Pinpoint.Configuration.dll
Implements IChangeToken
public class ConfigurationReloadToken : IChangeToken
- Inheritance
-
ConfigurationReloadToken
- Implements
- Inherited Members
Properties
ActiveChangeCallbacks
Indicates if this token will proactively raise callbacks. Callbacks are still guaranteed to be invoked, eventually.
public bool ActiveChangeCallbacks { get; }
Property Value
HasChanged
Gets a value that indicates if a change has occurred.
public bool HasChanged { get; }
Property Value
Methods
OnReload()
Used to trigger the change token when a reload occurs.
public void OnReload()
RegisterChangeCallback(Action<object>, object)
Registers for a callback that will be invoked when the entry has changed. HasChanged MUST be set before the callback is invoked.
public IDisposable RegisterChangeCallback(Action<object> callback, object state)