Exemplo n.º 1
0
    public static void Main()
    {
        EmployeeFiredNotify employeeFiredNotify = new EmployeeFiredNotify();
        EmployeeFiredWatch  employeeFiredWatch  =
            new EmployeeFiredWatch(employeeFiredNotify);

        employeeFiredNotify.NotifyEmployeeFired("Brian Pfeil", "Slacker");
    }
Exemplo n.º 2
0
 public static void Main()
 {
     EmployeeFiredNotify employeeFiredNotify = new EmployeeFiredNotify();
     EmployeeFiredWatch employeeFiredWatch =
         new EmployeeFiredWatch(employeeFiredNotify);
     employeeFiredNotify.NotifyEmployeeFired("Brian Pfeil", "Slacker");
 }