Example #1
0
 public virtual void Stop()
 {
     if (syncScenarioItem != null && !syncScenarioItem.IsComplete())
     {
         Pause();
         syncScenarioItem.Stop();
     }
     complete = true;
 }
Example #2
0
 public bool IsComplete()
 {
     return(started && (null == scenarioItem || scenarioItem.IsComplete()));
 }
Example #3
0
 public static bool IsNullOrComplete(this ISyncScenarioItem item)
 {
     return(item == null || item.IsComplete());
 }