2using System.Collections;
3using System.Collections.Generic;
16 readonly Iterable _iterable;
25 _iterable = iterable ??
throw new ArgumentNullException(nameof(iterable));
37 IEnumerator IEnumerable.GetEnumerator()
Wraps an Iterable as a IEnumerable.
IEnumerator< T > GetEnumerator()
Returns an enumerator that wraps the given iterable.
IterableWrapper(Iterable iterable)
Initializes a new instance.