Beispiel #1
0
 public abstract void SendMessage(ColleagueBase caller, string message);
Beispiel #2
0
 public override void SendMessage(ColleagueBase caller, string message)
 {
     if (caller == _colleague1)
     {
         _colleague2.Notify(message);
     }
     else
     {
         _colleague1.Notify(message);
     }
 }