Пример #1
0
 public void SendMessage(ACommunicator caller, string msg, int type)
 {
     foreach (ACommunicator communicator in list)
     {
         if (caller != communicator)
         {
             communicator.Receive(msg, type);
         }
     }
 }
Пример #2
0
 public void AddComunicator(ACommunicator a)
 {
     list.Add(a);
 }