private DependencyWatcher(INotifyPropertyChanged target, Action <string> notifyPropertyChangedDelegate) { this.target = target; dependencies = DependencyHelper.GetDependenciesDictionary(target); this.notifyPropertyChangedDelegate = notifyPropertyChangedDelegate; target.PropertyChanged += Target_OnPropertyChanged; }
protected void RegisterDependencies() { propertyDependencies = DependencyHelper.GetDependenciesDictionary(this); }