YamlSourceSpan Struct

Represents a span in YAML source text.

public readonly struct YamlSourceSpan

Constructors

NameDescription
YamlSourceSpan(Mark, Mark)Initializes a new instance of the YamlSourceSpan struct.

YamlSourceSpan(Mark, Mark)

YamlSourceSpan.cs

Initializes a new instance of the YamlSourceSpan struct.

public YamlSourceSpan(Mark start, Mark end)

Parameters

start Mark
The start mark.
end Mark
The end mark.

Properties

NameDescription
EndGets the end mark.
StartGets the start mark.

Gets the end mark.

public Mark End { get; }

Property value

Mark

Gets the start mark.

public Mark Start { get; }

Property value

Mark

Methods

NameDescription
ToString()Returns the fully qualified type name of this instance.

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string The fully qualified type name.