コード例 #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);
 }