Class NullToken
The null object has a type and value that are unequal to those of any other object. There is only one object of type null, denoted by the keyword null. An indirect object reference to a nonexistent object is treated the same as the null object. Specifying the null object as the value of a dictionary entry is equivalent to omitting the entry entirely.
public class NullToken : IDataToken<object>, IToken, IEquatable<IToken>
- Inheritance
-
NullToken
- Implements
- Inherited Members
Properties
Data
null.
public object Data { get; }
Property Value
Instance
The single instance of the NullToken.
public static NullToken Instance { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
Equals(IToken)
public bool Equals(IToken obj)
Parameters
obj
IToken
Returns
Equals(NullToken)
Whether two null tokens are equal.
protected bool Equals(NullToken other)
Parameters
other
NullToken
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()