Click or drag to resize

MoreEnumerablePartialSort Method

Overload List
  NameDescription
Public methodStatic memberPartialSortT(IEnumerableT, Int32)
Combines OrderByTSource, TKey(IEnumerableTSource, FuncTSource, TKey), where each element is its key, and TakeTSource(IEnumerableTSource, Int32) in a single operation.
Public methodStatic memberPartialSortT(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
Public methodStatic memberPartialSortT(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.
Public methodStatic memberPartialSortT(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.
Top
See Also