Example #1
0
 protected SortContext(SortDirection direction, SortContext <TElement> child_context)
 {
     this.direction     = direction;
     this.child_context = child_context;
 }
Example #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;
 }
Example #3
0
 public abstract SortContext <TElement> CreateContext(SortContext <TElement> current);
Example #4
0
 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();