Exemplo n.º 1
0
 private void WhenConnect(IPeer peer, ConnectAction action)
 {
     if (peer.IsConnectedTo(action.Model))
     {
         return;
     }
     peer.AddRelation(_network.FindAgent(action.Model));
 }