Struct CircularArray<T>.CircularArrayEnumerator
A struct enumerator over a CircularArray<T>'s elements in logical order.
Obtained via GetEnumerator(); using it through foreach
directly avoids the heap allocation that boxing to IEnumerator<T> would incur.
Inherited Members
Namespace: FFmpeg.Collections
Assembly: FFmpeg.dll
Syntax
public struct CircularArray<T>.CircularArrayEnumerator : IEnumerator<T>, IEnumerator, IDisposable
Constructors
View SourceCircularArrayEnumerator(CircularArray<T>)
A struct enumerator over a CircularArray<T>'s elements in logical order.
Obtained via GetEnumerator(); using it through foreach
directly avoids the heap allocation that boxing to IEnumerator<T> would incur.
Declaration
public CircularArrayEnumerator(CircularArray<T> array)
Parameters
| Type | Name | Description |
|---|---|---|
| CircularArray<T> | array |
Properties
View SourceCurrent
Declaration
public readonly T Current { get; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
View SourceDispose()
Declaration
public readonly void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| bool |
Reset()
Declaration
public void Reset()