Show / Hide Table of Contents

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.

Implements
IEnumerator<T>
IEnumerator
IDisposable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: FFmpeg.Collections
Assembly: FFmpeg.dll
Syntax
public struct CircularArray<T>.CircularArrayEnumerator : IEnumerator<T>, IEnumerator, IDisposable

Constructors

View Source

CircularArrayEnumerator(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 Source

Current

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

Methods

View Source

Dispose()

Declaration
public readonly void Dispose()
View Source

MoveNext()

Declaration
public bool MoveNext()
Returns
Type Description
bool
View Source

Reset()

Declaration
public void Reset()

Implements

IEnumerator<T>
IEnumerator
IDisposable
  • View Source
In this article
Back to top Generated by DocFX