Пример #1
0
        protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren)
        {
            _parent = parent;

            _children = new ObservableCollection <TreeViewItemViewModel>();

            if (lazyLoadChildren)
            {
                _children.Add(DummyChild);
            }
        }
Пример #2
0
 public ParameterInfoVM(IParameterInfo pi, TreeViewItemViewModel parent) : base(parent, true)
 {
     this.pi = pi;
 }
Пример #3
0
 public ClassInfoVM(IClassInfo ci, TreeViewItemViewModel parent) : base(parent, true)
 {
     this.ci = ci;
 }
Пример #4
0