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)); } }
public SyncronizerColumnAdapter(LayeredColumnVM target) { this.target = target; }