Class ConverterCollections.ConverterCacheEntries.ConverterEnumerator
An IEnumerator that converts the key and value types.
Implements
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
protected class ConverterCollections.ConverterCacheEntries.ConverterEnumerator : IEnumerator
Constructors
ConverterEnumerator(IEnumerator, ConverterCacheEntries)
Constructor.
Declaration
public ConverterEnumerator(IEnumerator enumerator, ConverterCollections.ConverterCacheEntries parent)
Parameters
Type | Name | Description |
---|---|---|
IEnumerator | enumerator | The underlying IEnumerator. |
ConverterCollections.ConverterCacheEntries | parent |
Fields
m_enum
The underlying IEnumerator.
Declaration
protected IEnumerator m_enum
Field Value
Type | Description |
---|---|
IEnumerator |
m_parent
Parent ConverterCacheEntries.
Declaration
protected ConverterCollections.ConverterCacheEntries m_parent
Field Value
Type | Description |
---|---|
ConverterCollections.ConverterCacheEntries |
Properties
Current
Gets the current element in the collection.
Declaration
public virtual object Current { get; }
Property Value
Type | Description |
---|---|
object | The current element in the collection. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The enumerator is positioned before the first element of the collection or after the last element. |
Enumerator
The underlying IEnumerator.
Declaration
public virtual IEnumerator Enumerator { get; }
Property Value
Type | Description |
---|---|
IEnumerator | The underlying IEnumerator. |
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public virtual bool MoveNext()
Returns
Type | Description |
---|---|
bool | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The collection was modified after the enumerator was created. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public virtual void Reset()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The collection was modified after the enumerator was created. |