public override void Send(string message, Colleage colleage)
 {
     if (colleage == ConcreteCollegue1)
     {
         ConcreteCollegue2.Notify(message);
     }
     else
     {
         ConcreteCollegue1.Notify(message);
     }
 }
Ejemplo n.º 2
0
 public abstract void Send(string message, Colleage colleage);