Table of Contents

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

bool

HasChanged

Always false.

public bool HasChanged { get; }

Property Value

bool

Singleton

A singleton instance of NullChangeToken

public static NullChangeToken Singleton { get; }

Property Value

NullChangeToken

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

callback Action<object>

This parameter is ignored

state object

This parameter is ignored

Returns

IDisposable

A disposable object that noops on dispose.