示例#1
0
 // whether `s` is currently running, including overlap
 //
 public bool IsStepRunning(Step s)
 {
     if (StepProgression == null)
     {
         return(false);
     }
     else
     {
         return(StepProgression.IsStepRunning(s));
     }
 }
示例#2
0
        public void Set()
        {
            var current = CurrentStep;

            foreach (var s in steps_)
            {
                bool paused = false;

                if (StepProgression != null)
                {
                    paused = !StepProgression.IsStepRunning(s);
                }

                s.Set(paused);
            }
        }