Show / Hide Table of Contents

Class ConverterCollections.ConverterCacheEntries.ConverterEnumerator

An IEnumerator that converts the key and value types.

Inheritance
object
ConverterCollections.ConverterCacheEntries.ConverterEnumerator
Implements
IEnumerator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Parent ConverterCollections.ConverterCacheEntries.

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.

Implements

IEnumerator
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.