PartitionExtensionPartition Method

Overload List

PartitionT(IEnumerableT, FuncT, Boolean) Partitions or splits a sequence in two using a predicate.
PartitionT, TResult(IEnumerableIGroupingBoolean, T, FuncIEnumerableT, IEnumerableT, TResult) Partitions a grouping by Boolean keys into a projection of true elements and false elements, respectively.
PartitionT, TResult(IEnumerableIGroupingNullableBoolean, T, FuncIEnumerableT, IEnumerableT, IEnumerableT, TResult) Partitions a grouping by nullable Boolean keys into a projection of true elements, false elements and null elements, respectively.
PartitionT, TResult(IEnumerableT, FuncT, Boolean, FuncIEnumerableT, IEnumerableT, TResult) Partitions or splits a sequence in two using a predicate and then projects a result from the two.
PartitionTKey, TElement, TResult(IEnumerableIGroupingTKey, TElement, TKey, FuncIEnumerableTElement, IEnumerableIGroupingTKey, TElement, TResult) Partitions a grouping and projects a result from group elements matching a key and those groups that do not.
PartitionTKey, TElement, TResult(IEnumerableIGroupingTKey, TElement, TKey, TKey, FuncIEnumerableTElement, IEnumerableTElement, IEnumerableIGroupingTKey, TElement, TResult) Partitions a grouping and projects a result from elements of groups matching a set of two keys and those groups that do not.
PartitionTKey, TElement, TResult(IEnumerableIGroupingTKey, TElement, TKey, IEqualityComparerTKey, FuncIEnumerableTElement, IEnumerableIGroupingTKey, TElement, TResult) Partitions a grouping and projects a result from group elements matching a key and those groups that do not. An additional parameter specifies how to compare keys for equality.
PartitionTKey, TElement, TResult(IEnumerableIGroupingTKey, TElement, TKey, TKey, TKey, FuncIEnumerableTElement, IEnumerableTElement, IEnumerableTElement, IEnumerableIGroupingTKey, TElement, TResult) Partitions a grouping and projects a result from elements groups matching a set of three keys and those groups that do not.
PartitionTKey, TElement, TResult(IEnumerableIGroupingTKey, TElement, TKey, TKey, IEqualityComparerTKey, FuncIEnumerableTElement, IEnumerableTElement, IEnumerableIGroupingTKey, TElement, TResult) Partitions a grouping and projects a result from elements of groups matching a set of two keys and those groups that do not. An additional parameter specifies how to compare keys for equality.
PartitionTKey, TElement, TResult(IEnumerableIGroupingTKey, TElement, TKey, TKey, TKey, IEqualityComparerTKey, FuncIEnumerableTElement, IEnumerableTElement, IEnumerableTElement, IEnumerableIGroupingTKey, TElement, TResult) Partitions a grouping and projects a result from elements groups matching a set of three keys and those groups that do not. An additional parameter specifies how to compare keys for equality.

See Also