Exemplo n.º 1
0
 // constructor Branch-Or-Leaf-Object
 public TreeObjectViewModel(TreeObject inObject, TreeObjectViewModel inParent, bool isLeaf) : base(inParent, !isLeaf)
 {
     _object = inObject;
 }
Exemplo n.º 2
0
 // constructor Branch-Object
 public TreeObjectViewModel(TreeObject inObject, TreeObjectViewModel inParent) : base(inParent, true)
 {
     _object = inObject;
 }