Пример #1
0
 public virtual void EndGroup()
 {
     if (CurrentSorter != null)
     {
         CurrentSorter.SortAndAppendTo(lastPoint, TargetScheduler);
         lastPoint     = CurrentSorter.OutPoint;
         CurrentSorter = null;
     }
 }
Пример #2
0
        public virtual void BeginGroup()
        {
            if (CurrentSorter != null)
            {
                throw new Exception("GroupScheduler.BeginGroup: already in a group!");
            }

            CurrentSorter = new SortingScheduler2d();
        }