コード例 #1
0
 public RdsAppList(RdsServer _HostServer)
 {
     RdsServerIds = new RdsServerIdList();
     //this.ServerList = new RdsServerList(false);
     //this.ServerList.Add(_HostServer);
     this.RefreshList();
 }
コード例 #2
0
 public RdsAppList(RdsServerList _RdsServerList)
 {
     this.RdsServerIds = new RdsServerIdList();
     foreach (RdsServer s in _RdsServerList)
     {
         this.RdsServerIds.Add(s.Hostname);
     }
     this.RefreshList();
 }
コード例 #3
0
 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);
         }
     }
 }
コード例 #4
0
 public RdsAppList()
 {
     RdsServerIds = new RdsServerIdList();
     //this.ServerList = null;
     //this.HostServer = null;
 }