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