PartialSortExtension Class

PartialSort extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.1.0+0e154ef592f33ce0f6f3d534a9eedee273f0ce72
C#
public static class PartialSortExtension
Inheritance
Object    PartialSortExtension

Methods

PartialSortT(IEnumerableT, Int32) Combines OrderByTSource, TKey(IEnumerableTSource, FuncTSource, TKey), where each element is its key, and TakeTSource(IEnumerableTSource, Int32) in a single operation.
PartialSortT(IEnumerableT, Int32, OrderByDirection) Combines OrderByT, TKey(IEnumerableT, FuncT, TKey, IComparerTKey, OrderByDirection), where each element is its key, and TakeTSource(IEnumerableTSource, Int32) in a single operation. An additional parameter specifies the direction of the sort
PartialSortT(IEnumerableT, Int32, IComparerT) Combines OrderByTSource, TKey(IEnumerableTSource, FuncTSource, TKey, IComparerTKey), where each element is its key, and TakeTSource(IEnumerableTSource, Int32) in a single operation. An additional parameter specifies how the elements compare to each other.
PartialSortT(IEnumerableT, Int32, IComparerT, OrderByDirection) Combines OrderByT, TKey(IEnumerableT, FuncT, TKey, IComparerTKey, OrderByDirection), where each element is its key, and TakeTSource(IEnumerableTSource, Int32) in a single operation. Additional parameters specify how the elements compare to each other and the direction of the sort.

See Also