Table of Contents

Struct IPool<T>.Enumerator

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents an enumerator for the IPool<T>.

public struct IPool<T>.Enumerator : IEnumerator<T>, IEnumerator, IDisposable
Implements
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

bool

true if the enumerator was successfully advanced; otherwise, false.

Reset()

Resets the enumerator to its initial position.

public void Reset()

Exceptions

InvalidOperationException

Always thrown as resetting is not supported.