Struct IPool<T>.Enumerator
Represents an enumerator for the IPool<T>.
public struct IPool<T>.Enumerator : IEnumerator<T>, IEnumerator, IDisposable
- Implements
-
IEnumerator<T>
- Inherited Members
Properties
Current
Gets the element in the pool at the current position of the enumerator.
public readonly T Current { get; }
Property Value
- T
Methods
Dispose()
Releases all resources used by the enumerator.
public void Dispose()
MoveNext()
Advances the enumerator to the next element of the pool.
public bool MoveNext()
Returns
Reset()
Resets the enumerator to its initial position.
public void Reset()
Exceptions
- InvalidOperationException
Always thrown as resetting is not supported.