NullChangeToken 类

定义

不引发任何更改回叫的空更改令牌。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
继承
NullChangeToken
实现

属性

ActiveChangeCallbacks

始终为 false。Always false.

HasChanged

始终为 false。Always false.

Singleton

NullChangeToken 的单一实例A singleton instance of NullChangeToken

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 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.

(继承自 Object)

适用于