internal AsyncSelectorEnumerableSorter(Func <TElement, UniTask <TKey> > keySelector, IComparer <TKey> comparer, bool descending, AsyncEnumerableSorter <TElement> next) { this.keySelector = keySelector; this.comparer = comparer; this.descending = descending; this.next = next; }
internal AsyncSelectorWithCancellationEnumerableSorter(Func <TElement, CancellationToken, UniTask <TKey> > keySelector, IComparer <TKey> comparer, bool descending, AsyncEnumerableSorter <TElement> next, CancellationToken cancellationToken) { this.keySelector = keySelector; this.comparer = comparer; this.descending = descending; this.next = next; this.cancellationToken = cancellationToken; }
internal abstract AsyncEnumerableSorter <TElement> GetAsyncEnumerableSorter(AsyncEnumerableSorter <TElement> next, CancellationToken cancellationToken);