protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren) { _parent = parent; _children = new ObservableCollection<TreeViewItemViewModel>(); if (lazyLoadChildren) _children.Add(DummyChild); }
protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren) { _parent = parent; _children = new ObservableCollection <TreeViewItemViewModel>(); if (lazyLoadChildren) { _children.Add(DummyChild); } }
public ProjectDirectoryViewModel(IProjectItem item, TreeViewItemViewModel parent) : base(item, parent) { }
public ProjectItemViewModel(IProjectItem item, TreeViewItemViewModel parent) : base(parent, true) { _item = item; }
public ProjectFileViewModel(IProjectItem item, TreeViewItemViewModel parent) : base(item, parent) { }