Class NullChangeToken
- Namespace
- Acuit.Pinpoint.FileProviders
- Assembly
- Acuit.Pinpoint.Configuration.dll
An empty change token that doesn't raise any change callbacks.
public class NullChangeToken : IChangeToken
- Inheritance
-
NullChangeToken
- Implements
- Inherited Members
Properties
ActiveChangeCallbacks
Always false.
public bool ActiveChangeCallbacks { get; }
Property Value
HasChanged
Always false.
public bool HasChanged { get; }
Property Value
Singleton
A singleton instance of NullChangeToken
public static NullChangeToken Singleton { get; }
Property Value
Methods
RegisterChangeCallback(Action<object>, object)
Always returns an empty disposable object. Callbacks will never be called.
public IDisposable RegisterChangeCallback(Action<object> callback, object state)
Parameters
Returns
- IDisposable
A disposable object that noops on dispose.