Exemple #1
0
 static void AtTheWorkstation(Iworker worker)
 {
     Console.WriteLine("at the work station");
     worker.StartWork();
     worker.StopWork();
 }
Exemple #2
0
 public Manager(Iworker worker)
 {
     this.worker = worker;
 }
Exemple #3
0
 static void AtTheCafeteria(Iworker worker)
 {
     Console.WriteLine("at the cafeteria");
     worker.StartEat();
     worker.StopEat();
 }