![]() | coverCoverT Method (IEnumerableT, IEnumerableT, IEnumerableInt32) |
Namespace: WhetStone.Looping
public static IEnumerable<T> Cover<T>( this IEnumerable<T> this, IEnumerable<T> cover, IEnumerable<int> coverindices )
Exception | Condition |
---|---|
ArgumentException | If cover is empty. |
The returned enumerable is as long as this, regardless of cover's length.
If coverindices is longer than cover, cover will cycle over itself to provide adequate overlay.
If coverindices is shorter than cover, the remaining elements of cover will be ignored. The cover is only as long as coverindices.