November Happy Hour will be moved to Thursday December 5th.

Class DynamicDataCollection<T>.DynamicDataCollectionEnumerator

Enumerator implementation for use by the DynamicDataCollection<T> class ///

Inheritance
System.Object
DynamicDataCollection<T>.DynamicDataCollectionEnumerator
Implements
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable
Namespace: EPiServer.Data.Dynamic.Internal
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public sealed class DynamicDataCollectionEnumerator : Object, IEnumerator<T>, IEnumerator, IDisposable

Constructors

DynamicDataCollectionEnumerator(DynamicDataCollection<T>)

Construct the enumerator

Declaration
public DynamicDataCollectionEnumerator(DynamicDataCollection<T> enumerable)
Parameters
Type Name Description
DynamicDataCollection<T> enumerable

The DynamicDataCollection<T> which owns this object

Properties

Current

Return the current item in the enumerator

Declaration
public T Current { get; }
Property Value
Type Description
T

Methods

Dispose()

Declaration
public void Dispose()

MoveNext()

Move to the next item in the enumerator

Declaration
public bool MoveNext()
Returns
Type Description
System.Boolean

Reset()

Reset the enumerator

Declaration
public void Reset()

Implements

System.Collections.Generic.IEnumerator<>
System.Collections.IEnumerator
System.IDisposable

Extension Methods