public ListNotifyBinding(Action notify, ListProperty <Type> _source) { this.Enabled = true; this.notify = notify; _source.AddBinding(this); this.sources = new IProperty[] { _source }; }
public ListBinding(ListProperty <Type> _destination, ListProperty <Type2> _source, Func <Type2, Type> _transform, Func <Type2, bool> _filter) { this.Enabled = true; this.destination = _destination; this.transform = _transform; this.filter = _filter; _source.AddBinding(this); this.sources = new IProperty[] { _source }; this.OnChanged(_source); }