コード例 #1
0
 // constructor Branch-Or-Leaf-Object
 public TreeObjectViewModel(TreeObject inObject, TreeObjectViewModel inParent, bool isLeaf) : base(inParent, !isLeaf)
 {
     _object = inObject;
 }
コード例 #2
0
 // constructor Branch-Object
 public TreeObjectViewModel(TreeObject inObject, TreeObjectViewModel inParent) : base(inParent, true)
 {
     _object = inObject;
 }