Exemplo n.º 1
0
 /// <summary>
 /// Remove all pods from the instance. This is only usable for visualization purposes.
 /// </summary>
 public void VisClearPods()
 {
     Pods.Clear();
     foreach (var tier in Compound.Tiers)
     {
         tier.Pods.Clear();
     }
 }
Exemplo n.º 2
0
        public async Task LoadPods()
        {
            Pods.Clear();
//            using(var pr = RepositoryProvider.Instance.PodRepository)
//            {
//                var allPods = await pr.GetActivePods();
//                foreach (var pod in allPods)
//                    Pods.Add(pod);
//            }
        }
Exemplo n.º 3
0
 public void clearClusterView()
 {
     Pods.Clear();
     Clients.All.SendAsync("clusterViewUpdated", Pods);
 }