public override void Send(string message, Colleague colleague) { if (colleague == colleague1) { colleague2.Notify(message); } else { colleague1.Notify(message); } }
public abstract void Send(string message, Colleague colleague);
public abstract void Send(string message, Colleague colleague);