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.IDisposable
System.Collections.IEnumerator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 9.12.2Syntax
public sealed class DynamicDataCollectionEnumerator : IEnumerator<T>, IDisposable, IEnumerator
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()
Explicit Interface Implementations
IEnumerator.Current
Return the current item in the enumerator
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator