Пример #1
0
 //Message will go to the intended friend.
 public void Send(Friend intendedFriend, string msg)
 {
     mediator.Send(this, intendedFriend, msg);
 }
Пример #2
0
 public void Register(Friend friend)
 {
     participants.Add(friend);
 }