예제 #1
0
        public DeredundafierViewModel(DeredundafierDTO data, DeredundafierViewModel parent)
        {
            Data   = data;
            Parent = parent;

            Children = new ObservableCollection <DeredundafierViewModel>();
        }
예제 #2
0
 public PassiveViewModel(DeredundafierDTO data, DeredundafierViewModel parent)
     : base(data, parent)
 {
     foreach (DeredundafierDTO child in data.Children)
     {
         Children.Add(new PassiveViewModel(child, this));
     }
 }
예제 #3
0
 public void Add(DeredundafierViewModel model)
 {
     ViewModels.Add(model);
 }