void ExpandNode(IObjectsTreeNode node, bool expand)
 {
     updateRootNode(rootNode =>
     {
         var vn = new InspectedObjectPath(node as VisualizerNode).Follow(rootNode);
         return(vn?.Expand(expand) ?? rootNode);
     });
 }
Beispiel #2
0
 public void Update(IObjectsTreeNode n)
 {
     node = n;
     this.NeedsDisplay = true;
 }
Beispiel #3
0
 public void Update(IObjectsTreeNode node)
 {
     this.node         = node;
     this.NeedsDisplay = true;
 }
 void IViewModel.OnCollapseNode(IObjectsTreeNode node) => ExpandNode(node, false);
 void IViewModel.OnExpandNode(IObjectsTreeNode node) => ExpandNode(node, true);