public override void Send(string message, Colleague colleague) { this.colleagues.Where(c => c != colleague) .ToList() .ForEach(c => c.HandleNotification(message)); }
public abstract void Send(string Message, Colleague colleague);
public void Register(Colleague colleague) { colleague.SetMediator(this); this.colleagues.Add(colleague); }