Inheritance: INotifyPropertyChanged
Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 3
0
        public ChatTreeViewModel(TreeViewModelBase parent, ChatTreeItem value)
            : base(parent)
        {
            if (value == null)
            {
                throw new ArgumentNullException(nameof(value));
            }

            this.Value = value;
        }
Ejemplo n.º 4
0
        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;
        }
Ejemplo n.º 5
0
 public TreeViewModelBase(TreeViewModelBase parent)
 {
     _parent = parent;
 }
Ejemplo n.º 6
0
 public TreeViewModelBase(TreeViewModelBase parent)
 {
     _parent = parent;
 }