public THostViewModel AddHost(HostInfo host) { var hvm = new THostViewModel { Model = new Host(host, Config, PuttyProfile) }; _addingNewHost = hvm; Hosts.AddNew(); Hosts.EndNew(Hosts.Count - 1); return(hvm); }
public THostViewModel AddHost(HostInfo host) { var hvm = new THostViewModel { Model = new Host(host, Config, PuttyProfile) }; _addingNewHost = hvm; Hosts.AddNew(); Hosts.EndNew(Hosts.Count - 1); return(hvm); }