![]() | coverCoverT Method (IListT, IListT, IListInt32) |
Namespace: WhetStone.Looping
public static IList<T> Cover<T>( this IList<T> this, IList<T> cover, IList<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.
The returned IListT is mutability passing (assuming all this, cover, coverindices are mutable), however, its mutating methods are undefined and untested, and should be considered experimental.