PartialSortExtension Class |
Namespace: MoreLinq.Extensions
Name | Description | |
---|---|---|
![]() ![]() | PartialSort<T>(IEnumerable<T>, Int32) |
Combines OrderBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>),
where each element is its key, and Take<TSource> (IEnumerable<TSource> , Int32)
in a single operation.
|
![]() ![]() | PartialSort<T>(IEnumerable<T>, Int32, OrderByDirection) |
Combines OrderBy<T, TKey>(IEnumerable<T>, Func<T, TKey>, IComparer<TKey>, OrderByDirection),
where each element is its key, and Take<TSource> (IEnumerable<TSource> , Int32)
in a single operation.
An additional parameter specifies the direction of the sort
|
![]() ![]() | PartialSort<T>(IEnumerable<T>, Int32, IComparer<T>) |
Combines OrderBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>),
where each element is its key, and Take<TSource> (IEnumerable<TSource> , Int32)
in a single operation. An additional parameter specifies how the
elements compare to each other.
|
![]() ![]() | PartialSort<T>(IEnumerable<T>, Int32, IComparer<T>, OrderByDirection) |
Combines OrderBy<T, TKey>(IEnumerable<T>, Func<T, TKey>, IComparer<TKey>, OrderByDirection),
where each element is its key, and Take<TSource> (IEnumerable<TSource> , Int32)
in a single operation.
Additional parameters specify how the elements compare to each other and
the direction of the sort.
|