PartialSortExtension Class

PartialSort extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
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