コード例 #1
0
ファイル: SortContext`1.cs プロジェクト: Bruno13/TheForest
 protected SortContext(SortDirection direction, SortContext <TElement> child_context)
 {
     this.direction     = direction;
     this.child_context = child_context;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public abstract SortContext <TElement> CreateContext(SortContext <TElement> current);
コード例 #4
0
ファイル: QuickSort`1.cs プロジェクト: Bruno13/TheForest
 public static IEnumerable <TElement> Sort(IEnumerable <TElement> source, SortContext <TElement> context)
 {
     QuickSort <TElement> .< Sort > c__Iterator209 <Sort> c__Iterator = new QuickSort <TElement> .< Sort > c__Iterator209();