Table of Contents

Class SerialAlternatingEnumerable<T>

Namespace
ChartTools.Extensions.Collections.Alternating
Assembly
ChartTools.dll

Enumerable where T items are yielded by alternating from a set of enumerables

public class SerialAlternatingEnumerable<T> : IEnumerable<T>, IEnumerable

Type Parameters

T

Type of the enumerated items

Inheritance
SerialAlternatingEnumerable<T>
Implements
Inherited Members
Extension Methods

Constructors

SerialAlternatingEnumerable(params ReadOnlySpan<IEnumerable<T>>)

Creates an instance of SerialAlternatingEnumerable<T>

public SerialAlternatingEnumerable(params ReadOnlySpan<IEnumerable<T>> enumerables)

Parameters

enumerables ReadOnlySpan<IEnumerable<T>>

Enumerables to pull items from

Exceptions

ArgumentException
ArgumentNullException

Properties

Enumerables

protected IEnumerable<T>[] Enumerables { get; }

Property Value

IEnumerable<T>[]

Methods

GetEnumerator()

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>