コード例 #1
0
 void IMessaging.SendArray(string[] receivers, IAtom[] atoms)
 {
     for (int i = 0; i < receivers.Length; i++)
     {
         MessageInvocation.Send(receivers[i], atoms[i]);
     }
 }
コード例 #2
0
 void IMessaging.Send(string receiver, params IAtom[] atoms)
 {
     if (atoms.Length == 1)
     {
         MessageInvocation.Send(receiver, atoms[0]);
         return;
     }
     MessageInvocation.SendList(receiver, atoms);
 }