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