Ejemplo n.º 1
0
 private void OnAddEnginesRoot(DebugRoot root)
 {
     UpdateData();
     if (RootSelection == null || Data?.DebugRoots.All(r => r != RootSelection) == true)
     {
         SetRootSelection(root);
     }
 }
Ejemplo n.º 2
0
 public void SetRootSelection(DebugRoot selection)
 {
     if (RootSelection != selection)
     {
         RootSelection = selection;
         groupListView.SetSelection(new List <int>());
         ReloadAll();
     }
 }
Ejemplo n.º 3
0
        public static string GetNameRoot(DebugRoot root)
        {
            var engroot = Instance?.DebugInfo.DebugRoots.FirstOrDefault(r => root == r)?.EnginesRoot;

            if (engroot == null || !EnginesRootDebugNames.ContainsKey(engroot))
            {
                return($"Unknown root");
            }
            return(EnginesRootDebugNames[engroot]);
        }