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