Exemplo n.º 1
0
 private IEnumerable <KeyValuePair <int, Cluster> > GetActiveClusters(IReliableDictionary <int, Cluster> clusterDictionary)
 {
     return(clusterDictionary.Where(x =>
                                    x.Value.Status == ClusterStatus.New ||
                                    x.Value.Status == ClusterStatus.Creating ||
                                    x.Value.Status == ClusterStatus.Ready));
 }
 private IEnumerable<KeyValuePair<int, Cluster>> GetActiveClusters(IReliableDictionary<int, Cluster> clusterDictionary)
 {
     return clusterDictionary.Where(
         x =>
             x.Value.Status == ClusterStatus.New ||
             x.Value.Status == ClusterStatus.Creating ||
             x.Value.Status == ClusterStatus.Ready);
 }