StreamEnd Class

Represents a stream end event.

public class StreamEnd : ParsingEvent
Inheritance
ParsingEvent StreamEnd

Constructors

NameDescription
StreamEnd()Initializes a new instance of the StreamEnd class.
StreamEnd(Mark, Mark)Initializes a new instance of the StreamEnd class.

StreamEnd overloads

StreamEnd()

StreamEnd.cs

Initializes a new instance of the StreamEnd class.

public StreamEnd()

StreamEnd(Mark, Mark)

StreamEnd.cs

Initializes a new instance of the StreamEnd class.

public StreamEnd(Mark start, Mark end)
Parameters
start Mark
The start position of the event.
end Mark
The end position of the event.

Properties

NameDescription
NestingIncreaseGets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0.

NestingIncrease

StreamEnd.cs

Gets a value indicating the variation of depth caused by this event. The value can be either -1, 0 or 1. For start events, it will be 1, for end events, it will be -1, and for the remaining events, it will be 0.

public override int NestingIncrease { get; }

Property value

int

Methods

NameDescription
ToString()Returns a String that represents the current Object.

ToString()

StreamEnd.cs

Returns a String that represents the current Object.

public override string ToString()

Returns

string A String that represents the current Object.