Skip to main content

IOrderedEnumerable<TElement> Interface

NuGet: GHIElectronics.TinyCLR.Linq
Assembly: GHIElectronics.TinyCLR.Linq
Namespace: System.Linq

Represents a sorted sequence. Used as the chain link between OrderBy/OrderByDescending and ThenBy/ThenByDescending.

public interface IOrderedEnumerable<TElement> : IEnumerable<TElement>

Methods

CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending)

IOrderedEnumerable<TElement> CreateOrderedEnumerable<TKey>( Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending)

Performs a subsequent ordering on the elements by a key, used to implement ThenBy and ThenByDescending.

Returns IOrderedEnumerable<TElement>