public override void Send(int number, Colleague colleague) { if (Roshen == colleague) { Roshen.Notify(number); } else if (AVK == colleague) { AVK.Notify(number); } else if (Svitoch == colleague) { Svitoch.Notify(number); } }
public abstract void Send(int number, Colleague colleague);