Click or drag to resize

RankedBagTEnumeratorSkipWhile Method (FuncT, Int32, Boolean)

Bypasses items as long as a supplied index-based condition is true and yields the remaining items.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public RankedBagTEnumerator SkipWhile(
	Func<T, int, bool> predicate
)

Parameters

predicate
Type: SystemFuncT, Int32, Boolean
The condition to test for.

Return Value

Type: RankedBagTEnumerator
Remaining items after the first item that does not satisfy the supplied condition.
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen the bag was modified after the enumerator was created.
See Also