예제 #1
0
 public static void Add(string name, ServerManager_v1 serverManager)
 {
     if (__servers.ContainsKey(name))
     {
         throw new PBException("ServerManager \"{0}\" already in ServerManagers list", name);
     }
     __servers.Add(name, serverManager);
 }
예제 #2
0
 public void AddServerManager(ServerManager_v1 server)
 {
     _servers_v1.Add(server.Name, server);
 }