internal void injectChild(ISOViewModelBase child)
 {
     if (!_childVMs.Contains(child))
     {
         _childVMs.Add(child);
         notifyChildrenChanged();
     }
 }
 public bool shouldExpand()
 {
     if (IsGenerator)
     {
         return(true);
     }
     else if (Parent != null)
     {
         ISOViewModelBase parentVM = _container.getViewModelForISO(Parent);
         return(parentVM.shouldExpand());
     }
     return(false);
 }
 internal void injectChild(ISOViewModelBase child)
 {
     if (!_childVMs.Contains(child))
     {
         _childVMs.Add(child);
         notifyChildrenChanged();
     }
 }