Class GenericBinaryTreeWithCounterCollectionEnumerator<V, C>
Enumerator class for items of a GenericBinaryTreeWithCounterCollectionEnumerator<V, C>.
Inheritance
System.Object
GenericBinaryTreeWithCounterCollectionEnumerator<V, C>
Implements
System.Collections.Generic.IEnumerator<V>
System.Collections.IEnumerator
System.IDisposable
Namespace: Syncfusion.Maui.GridCommon.Collections.Generic
Assembly: Syncfusion.Maui.GridCommon.dll
Syntax
public class GenericBinaryTreeWithCounterCollectionEnumerator<V, C> : Object, IEnumerator<V>, IEnumerator, IDisposable where V : ITreeTableEntryHost, ITreeTableCounterSource where C : ITreeTableCounter
Type Parameters
Name |
---|
V |
C |
Constructors
GenericBinaryTreeWithCounterCollectionEnumerator(GenericBinaryTreeWithCounterCollection<V, C>)
Initalizes the enumerator and attaches it to the collection.
Declaration
public GenericBinaryTreeWithCounterCollectionEnumerator(GenericBinaryTreeWithCounterCollection<V, C> collection)
Parameters
Type | Name | Description |
---|---|---|
GenericBinaryTreeWithCounterCollection<V, C> | collection | The parent collection to enumerate. |
Properties
Current
Gets the current item in the collection.
Declaration
public V Current { get; }
Property Value
Type |
---|
V |
Methods
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
MoveNext()
Advances the enumerator to the next item of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | True if the enumerator was successfully advanced to the next item; False if the enumerator has passed the end of the collection. |
Reset()
Sets the enumerator to its initial position, which is before the first item in the collection.
Declaration
public virtual void Reset()
Implements
System.Collections.Generic.IEnumerator<>
System.Collections.IEnumerator
System.IDisposable