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); }
public void AddServerManager(ServerManager_v1 server) { _servers_v1.Add(server.Name, server); }