YamlNodeEventEnumerator Class

Represents the Yaml Node Event Enumerator.

public sealed class YamlNodeEventEnumerator : IEnumerable<ParsingEvent>, IEnumerator<ParsingEvent>, IEnumerable, IEnumerator, IDisposable
Implements

Constructors

NameDescription
YamlNodeEventEnumerator(YamlNode)Initializes a new instance of this type.

YamlNodeEventEnumerator(YamlNode)

YamlNodeEventEnumerator.cs

Initializes a new instance of this type.

public YamlNodeEventEnumerator(YamlNode root)

Parameters

root YamlNode

Properties

NameDescription
CurrentGets or sets current.
System.Collections.IEnumerator.Current

Gets or sets current.

public ParsingEvent Current { get; }

Property value

ParsingEvent

System.Collections.IEnumerator.Current

YamlNodeEventEnumerator.cs
object IEnumerator.Current { get; }

Property value

object

No documentation is available.

Methods

NameDescription
Dispose()Releases resources used by the current instance.
GetEnumerator()Gets enumerator.
MoveNext()Advances the enumerator to the next element.
Reset()Resets the enumerator to its initial position.
System.Collections.IEnumerable.GetEnumerator()

Releases resources used by the current instance.

public void Dispose()

Gets enumerator.

public IEnumerator<ParsingEvent> GetEnumerator()

Advances the enumerator to the next element.

public bool MoveNext()

Returns

bool

Resets the enumerator to its initial position.

public void Reset()

System.Collections.IEnumerable.GetEnumerator()

YamlNodeEventEnumerator.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.