示例#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