TOrderedEnumerable<TElement,TKey>.Create(IEnumerable<TElement>,TFunc,IComparer,Boolean) Constructor

Initializes a new instance of the TOrderedEnumerable<TElement,TKey> class.

Namespace: Spring.Collections.Extensions
public
 constructor Create(const source: IEnumerable<TElement>;
 const keySelector: TFunc<TElement, TKey>; const comparer: IComparer<TKey>;
 descending: Boolean = False); overload;

Parameters

source
Type: IEnumerable<TElement>

keySelector
Type: TFunc<TElement, TKey>

comparer
Type: IComparer<TKey>

descending
Type: Boolean