コード例 #1
0
ファイル: OrderBy.cs プロジェクト: yimengfan/BDFramework.Core
 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;
 }
コード例 #2
0
ファイル: OrderBy.cs プロジェクト: yimengfan/BDFramework.Core
 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;
 }
コード例 #3
0
 internal abstract AsyncEnumerableSorter <TElement> GetAsyncEnumerableSorter(AsyncEnumerableSorter <TElement> next,
                                                                             CancellationToken cancellationToken);