Exemple #1
0
 /// <summary>
 /// Scan the clusters we are subscribed to and add them to the list of known clusters.
 /// </summary>
 private void ScanClusters()
 {
     this.Status("Scanning for known clusters", StatusKind.LongOp);
     foreach (var conf in ClusterConfiguration.EnumerateSubscribedClusters())
     {
         ClusterConfiguration.AddKnownCluster(conf);
         this.AddClusterNameToMenu(conf.Name);
         this.Status("Adding cluster " + conf.Name, StatusKind.OK);
     }
     this.Status("Scan completed", StatusKind.OK);
 }