Example #1
0
 public void SendMessage(ASender caller, string msg)
 {
     foreach (ASender sender in list)
     {
         if (caller != sender)
         {
             sender.Receive(msg);
         }
     }
 }
Example #2
0
 public void addSender(ASender a, string m)
 {
     list.Add(a);
 }