AddSafe<>(dic, key1, key2, value, comparer) IndexOf<>(source, predicate, startIndex) IndexOf<>(source, element, comparer) JoinString<>(values, separator, prefix, suffix, lastSeparator) Order<>(source, comparer) SkipLast<>(source, count, throwIfNotEnough) Split<>(source, chunkSize) Split<>(splitWhat, splitWhere) ToDictionary2<>(source, key1Selector, key2Selector, comparer1, comparer2) ToDictionary2<>(source, key1Selector, key2Selector, elementSelector, comparer1, comparer2)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: IEnumerable<T> OrderLazy<T>(this IEnumerable<T>, IComparer<T>)Declarationpublic static IEnumerable<T> OrderLazy<T>(
this IEnumerable<T> source,
IComparer<T> comparer
)Summary
This does the same as IEnumerableExtensions.Order<T>(this IEnumerable<T>, IComparer<T>), but it is much faster if you intend
to extract only the first few items using Enumerable.Take<TM1>(IEnumerable<TM1>, int). Generic type parameters| T | This type parameter is not documented. |
Parameters| this IEnumerable<T> | source |
The sequence to be sorted. | | IComparer<T> | comparer |
An instance of IComparer<T> specifying the comparison to use on the items. |
Returns
The given IEnumerable<T> with its elements sorted progressively. |