public SortSequenceContext(Func <TElement, TKey> selector, IComparer <TKey> comparer, SortDirection direction, SortContext <TElement> child_context) : base(direction, child_context) { this.selector = selector; this.comparer = comparer; }
internal OrderedSequence(IEnumerable <TElement> source, Func <TElement, TKey> key_selector, IComparer <TKey> comparer, SortDirection direction) : base(source) { this.selector = key_selector; this.comparer = comparer ?? Comparer <TKey> .Default; this.direction = direction; }
internal OrderedSequence(OrderedEnumerable <TElement> parent, IEnumerable <TElement> source, Func <TElement, TKey> keySelector, IComparer <TKey> comparer, SortDirection direction) : this(source, keySelector, comparer, direction) { this.parent = parent; }
protected SortContext(SortDirection direction, SortContext <TElement> child_context) { this.direction = direction; this.child_context = child_context; }