public RdsAppList(RdsServer _HostServer) { RdsServerIds = new RdsServerIdList(); //this.ServerList = new RdsServerList(false); //this.ServerList.Add(_HostServer); this.RefreshList(); }
public RdsAppList(RdsServerList _RdsServerList) { this.RdsServerIds = new RdsServerIdList(); foreach (RdsServer s in _RdsServerList) { this.RdsServerIds.Add(s.Hostname); } this.RefreshList(); }
public RdsAppList(StringCollection _RegistryFullKeyStrings, RdsAppList _MasterAppList) { RdsServerIds = new RdsServerIdList(); // Creat an AppList made up of every app that can be found using _RegistryFullKeyStrings to // search another source RdsAppList _MasterAppList foreach (string regkey in _RegistryFullKeyStrings) { RdsApp app = _MasterAppList[regkey]; if (app != null) // if null then a previous favorite is not in the _MasterAppList. Ignore it. { this.Add(app); } } }
public RdsAppList() { RdsServerIds = new RdsServerIdList(); //this.ServerList = null; //this.HostServer = null; }