Exemple #1
0
        public virtual Host AddHost(Common.VManager.DataTypes.HostConnectionParams parameters)
        {
            var host = CreateHostInstance(parameters);

            if (!hosts.ContainsKey(host.Name))
            {
                hosts[host.Name] = host;
            }
            return(GetHost(host.Name));
        }
Exemple #2
0
 protected abstract IHost CreateHostInstance(Common.VManager.DataTypes.HostConnectionParams parameters);