Пример #1
0
 public override void Send(string msg, Colleague colleague)
 {
     if (Student == colleague)
     {
         Deanery.Notify(msg);
     }
     else if (Deanery == colleague)
     {
         Professor.Notify(msg);
     }
     else if (Professor == colleague)
     {
         Student.Notify(msg);
     }
 }
Пример #2
0
 public abstract void Send(string msg, Colleague colleague);