Table of Contents

Class NullToken

Namespace
UglyToad.PdfPig.Tokens
Assembly
UglyToad.PdfPig.Tokens.dll

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

public object Data { get; }

Property Value

object

Instance

The single instance of the NullToken.

public static NullToken Instance { get; }

Property Value

NullToken

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(IToken)

public bool Equals(IToken obj)

Parameters

obj IToken

Returns

bool

Equals(NullToken)

Whether two null tokens are equal.

protected bool Equals(NullToken other)

Parameters

other NullToken

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string