Exemple #1
0
 public LayeredPresentationColumnVM(string heading, LayeredColumnVM target, Func <LayerVM, LayerVM> adapter) : base(heading)
 {
     this.target  = target;
     this.adapter = adapter;
     target.Layers.CollectionChanged += Layers_CollectionChanged;
     target.PropertyChanged          += Target_PropertyChanged;
     foreach (LayerVM vm in target.Layers)
     {
         layers.Add(adapter(vm));
     }
 }
Exemple #2
0
 public SyncronizerColumnAdapter(LayeredColumnVM target)
 {
     this.target = target;
 }