// constructor Branch-Or-Leaf-Object public TreeObjectViewModel(TreeObject inObject, TreeObjectViewModel inParent, bool isLeaf) : base(inParent, !isLeaf) { _object = inObject; }
// constructor Branch-Object public TreeObjectViewModel(TreeObject inObject, TreeObjectViewModel inParent) : base(inParent, true) { _object = inObject; }