public void ResumeSynchronized() { RunnableComponentList.ForEach((RunnableComponent) => RunnableComponent.ResumeSynchronized() ); Paused = false; }
public void PauseSynchronized() { RunnableComponentList.ForEach((RunnableComponent) => RunnableComponent.PauseSynchronized() ); Paused = true; }
public void StopSynchronized() { Console.WriteLine("Stopping!"); RunnableComponentList.ForEach((RunnableComponent) => RunnableComponent.StopSynchronized() ); Console.WriteLine("Stopped!"); }
public void StartSynchronized() { RunnableComponentList.ForEach((RunnableComponent) => RunnableComponent.StartSynchronized() ); }