Class StringSegmentCharEnumerator
Enumerator for characters in string segments.
Inheritance
System.Object
StringSegmentCharEnumerator
Implements
System.Collections.Generic.IEnumerator<System.Char>
System.Collections.IEnumerator
System.IDisposable
Namespace: System
Assembly: Nuqleon.StringSegment.dll
Syntax
public sealed class StringSegmentCharEnumerator : ValueType, IEnumerator<char>, IEnumerator, IDisposable
Properties
Current
Gets the current character in the enumeration.
Declaration
public char Current { get; }
Property Value
Type | Description |
---|---|
System.Char |
Methods
Dispose()
Disposes the enumerator.
Declaration
public void Dispose()
MoveNext()
Moves to the next character in the enumeration.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | true if a next character is available; otherwise, false. |
Reset()
Resets the enumerator.
Declaration
public void Reset()
Implements
System.Collections.Generic.IEnumerator<>
System.Collections.IEnumerator
System.IDisposable