public void PropertyChanged_datenViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) { Statistik_Mobile_obj1_Bindings bindings; if (WeakRefToBindingObj.TryGetTarget(out bindings)) { string propName = e.PropertyName; global::BalanceSheet.Models.MonatYearDaten obj = sender as global::BalanceSheet.Models.MonatYearDaten; if (global::System.String.IsNullOrEmpty(propName)) { if (obj != null) { bindings.Update_datenViewModel_BalanceForYearProperty(obj.BalanceForYearProperty, DATA_CHANGED); } } else { switch (propName) { case "BalanceForYearProperty": { if (obj != null) { bindings.Update_datenViewModel_BalanceForYearProperty(obj.BalanceForYearProperty, DATA_CHANGED); } break; } default: break; } } } }
private void Update_datenViewModel(global::BalanceSheet.Models.MonatYearDaten obj, int phase) { this.bindingsTracking.UpdateChildListeners_datenViewModel(obj); if (obj != null) { if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.Update_datenViewModel_BalanceForYearProperty(obj.BalanceForYearProperty, phase); } } }
public void UpdateChildListeners_datenViewModel(global::BalanceSheet.Models.MonatYearDaten obj) { if (obj != cache_datenViewModel) { if (cache_datenViewModel != null) { ((global::System.ComponentModel.INotifyPropertyChanged)cache_datenViewModel).PropertyChanged -= PropertyChanged_datenViewModel; cache_datenViewModel = null; } if (obj != null) { cache_datenViewModel = obj; ((global::System.ComponentModel.INotifyPropertyChanged)obj).PropertyChanged += PropertyChanged_datenViewModel; } } }