StreamStart Class

Represents a stream start event.

public sealed class StreamStart : ParsingEvent
Inheritance
ParsingEvent StreamStart

Constructors

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

StreamStart overloads

StreamStart()

StreamStart.cs

Initializes a new instance of the StreamStart class.

public StreamStart()

StreamStart(Mark, Mark)

StreamStart.cs

Initializes a new instance of the StreamStart class.

public StreamStart(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

StreamStart.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()

StreamStart.cs

Returns a String that represents the current Object.

public override string ToString()

Returns

string A String that represents the current Object.