PartialSortExtensionPartialSort Method |
Name | Description | |
---|---|---|
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.
|