Version 3.3.0.1

GarbageFreeIterators.ListIterator<T> struct

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public struct ListIterator<T> : IDisposable
List iterator.

Type Parameters

T

Constructors

ListIterator(List<T>)
Creates a list iterator.
public ListIterator(List<T> list)
Parameters
System.Collections.Generic.List<T> list

Properties

Current
Gets the current value.
public T Current { get; }

Methods

Dispose()
Disposes the iterator.
public void Dispose()
GetEnumerator()
Gets the enumerator.
public GarbageFreeIterators.ListIterator<T> GetEnumerator()
MoveNext()
Moves to the next value.
public bool MoveNext()
Returns
System.Boolean