public ChatTreeViewModel(TreeViewModelBase parent, ChatTreeItem value) : base(parent) { if (value == null) throw new ArgumentNullException(nameof(value)); this.Value = value; }
public SignatureTreeViewModel(TreeViewModelBase parent, SignatureTreeItem value) : base(parent) { if (value == null) throw new ArgumentNullException(nameof(value)); _children = new ObservableCollectionEx<TreeViewModelBase>(); _readonlyChildren = new ReadOnlyObservableCollection<TreeViewModelBase>(_children); this.Value = value; }
public ChatTreeViewModel(TreeViewModelBase parent, ChatTreeItem value) : base(parent) { if (value == null) { throw new ArgumentNullException(nameof(value)); } this.Value = value; }
public SearchTreeViewModel(TreeViewModelBase parent, SearchTreeItem value) : base(parent) { if (value == null) { throw new ArgumentNullException(nameof(value)); } _children = new ObservableCollectionEx <TreeViewModelBase>(); _readonlyChildren = new ReadOnlyObservableCollection <TreeViewModelBase>(_children); this.Value = value; }
public TreeViewModelBase(TreeViewModelBase parent) { _parent = parent; }