Class TokenStream.StreamTokenEnum
Class implement enumerator which use own algorithm for extracting data from input stream... Algorithm is a little faster then used in TokenStream class, but it does not support multi-symbols tokens splitter.
Inheritance
System.Object
TokenStream.StreamTokenEnum
Implements
System.Collections.IEnumerator
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.IO
Assembly: Syncfusion.MIME.Base.dll
Syntax
protected class StreamTokenEnum : IEnumerator, IDisposable
Constructors
StreamTokenEnum(TokenStream)
Let Him Know About Parent
Declaration
public StreamTokenEnum(TokenStream parent)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | parent |
Properties
Current
Get current token
Declaration
public object Current { get; }
Property Value
Type |
---|
System.Object |
Methods
Dispose()
Disposes all resources
Declaration
public void Dispose()
Finalize()
Destructor. Disposes all resources
Declaration
protected void Finalize()
MoveNext()
NOTE : newline - is one token
Declaration
public bool MoveNext()
Returns
Type |
---|
System.Boolean |
Reset()
At the Beginning Of Enumeration Clear The Buffer
Declaration
public void Reset()
Implements
System.Collections.IEnumerator
System.IDisposable