Κοινή χρήση μέσω


NullChangeToken Class

Definition

An empty change token that doesn't raise any change callbacks.

public ref class NullChangeToken : Microsoft::Extensions::Primitives::IChangeToken
public class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken
type NullChangeToken = class
    interface IChangeToken
Public Class NullChangeToken
Implements IChangeToken
Inheritance
NullChangeToken
Implements

Properties

ActiveChangeCallbacks

Gets a value that's always false.

HasChanged

Gets a value that's always false.

Singleton

Gets a singleton instance of NullChangeToken.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RegisterChangeCallback(Action<Object>, Object)

Always returns an empty disposable object. Callbacks will never be called.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to