Exemple #1
0
 public void ResumeSynchronized()
 {
     RunnableComponentList.ForEach((RunnableComponent) =>
                                   RunnableComponent.ResumeSynchronized()
                                   );
     Paused = false;
 }
Exemple #2
0
 public void PauseSynchronized()
 {
     RunnableComponentList.ForEach((RunnableComponent) =>
                                   RunnableComponent.PauseSynchronized()
                                   );
     Paused = true;
 }
Exemple #3
0
 public void StopSynchronized()
 {
     Console.WriteLine("Stopping!");
     RunnableComponentList.ForEach((RunnableComponent) =>
                                   RunnableComponent.StopSynchronized()
                                   );
     Console.WriteLine("Stopped!");
 }
Exemple #4
0
 public void StartSynchronized()
 {
     RunnableComponentList.ForEach((RunnableComponent) =>
                                   RunnableComponent.StartSynchronized()
                                   );
 }