Ejemplo n.º 1
0
 private static void AtWorkStation(IWork w)
 {
     Console.WriteLine("AtWorkStation");
     Console.WriteLine();
     w.StartWork();
     w.StopWork();
 }
Ejemplo n.º 2
0
        private static void AtTheWorkPlace(IWork w)
        {
            Console.WriteLine("At the Workplace");

            w.StartWork();
            w.StopWork();
            Console.WriteLine();
        }
Ejemplo n.º 3
0
        public void EmployeeDoWork()
        {
            Console.WriteLine("Employee started work.");

            // notify manager
            work.StartWork();

            Console.WriteLine("Employee ended work.");
        }
Ejemplo n.º 4
0
 static void AtWorkStation(IWork worker)
 {
     Console.WriteLine("At Workstation!");
     try
     {
         worker.StartWork();
         worker.StopWork();
     }
     catch (Exception e)
     {
         Console.WriteLine("Message:" + e.Message);
     }
 }
Ejemplo n.º 5
0
 static void AtTheWorkstation(IWork worker)
 {
     Console.WriteLine("at the work station");
     worker.StartWork();
     worker.StopWork();
 }
Ejemplo n.º 6
0
 public static void PrintEatData(IWork instance)
 {
     instance.StartWork();
     instance.StopWork();
 }
Ejemplo n.º 7
0
 private static void AtTheWorkStation(IWork work)
 {
     Console.WriteLine("Inside the WorkStation");
     work.StartWork();
     work.StopWork();
 }