private Dictionary <ItemDetails, List <TimelineRecord> > getEnvToTasks(Release release)
        {
            Dictionary <ItemDetails, List <TimelineRecord> > envToTasksDict = new Dictionary <ItemDetails, List <TimelineRecord> >();

            List <Release.REnvironment> envs = release.Environments;

            if (envs != null && envs.Count > 0)
            {
                foreach (var env in envs)
                {
                    ItemDetails id = new ItemDetails(env.Id, env.Name);

                    //TimelineRecord

                    Release.DeployStep deploySteps = env.DeploySteps;

                    if (deploySteps != null && deploySteps.Tasks != null)
                    {
                        //foreach Task
                    }
                }
            }

            return(envToTasksDict);
        }
 private void definitionsLV_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (!manuallyselected)
     {
         definitionsLV.SelectedIndex = -1;
         return;
     }
     if (sender != null)
     {
         ListView    lv     = sender as ListView;
         ItemDetails bdName = lv.SelectedItem as ItemDetails;
         if (bdName != null && bdName.Name != null)
         {
             BuildDefinition bd = buildDefList.Find(x => x.Name.ToLowerInvariant().Equals(bdName.Name.ToLowerInvariant()));
             if (bd != null)
             {
                 Frame.Navigate(typeof(BD_BuildsPage), bd);
             }
         }
     }
 }
 private void definitionsLV_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (!manuallyselected)
     {
         definitionsLV.SelectedIndex = -1;
         return;
     }
     if (sender != null)
     {
         ListView    lv     = sender as ListView;
         ItemDetails rdName = lv.SelectedItem as ItemDetails;
         if (rdName != null && rdName.Name != null)
         {
             ReleaseDefinition rd = releaseDefList.Find(x => x.Name.ToLowerInvariant().Equals(rdName.Name.ToLowerInvariant()));
             if (rd != null)
             {
                 Frame.Navigate(typeof(RD_ReleasesPage), rd);
             }
         }
     }
 }
        private Dictionary<ItemDetails, List<TimelineRecord>> getEnvToTasks(Release release)
        {
            Dictionary<ItemDetails, List<TimelineRecord>> envToTasksDict = new Dictionary<ItemDetails, List<TimelineRecord>>();

            List<Release.REnvironment> envs = release.Environments;

            if (envs != null && envs.Count > 0)
            {
                foreach (var env in envs)
                {
                    ItemDetails id = new ItemDetails(env.Id, env.Name);

                    //TimelineRecord

                    Release.DeployStep deploySteps = env.DeploySteps;

                    if (deploySteps != null && deploySteps.Tasks != null)
                    {
                        //foreach Task
                    }
                }
            }

            return envToTasksDict;
        }