public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) { ShoppingCartPage_obj1_Bindings bindings = TryGetBindingObject(); if (bindings != null) { string propName = e.PropertyName; global::FlightAppEliasGryp.ViewModels.ShoppingCartViewModel obj = sender as global::FlightAppEliasGryp.ViewModels.ShoppingCartViewModel; if (global::System.String.IsNullOrEmpty(propName)) { if (obj != null) { bindings.Update_ViewModel_ShoppingCart(obj.ShoppingCart, DATA_CHANGED); } } else { switch (propName) { case "ShoppingCart": { if (obj != null) { bindings.Update_ViewModel_ShoppingCart(obj.ShoppingCart, DATA_CHANGED); } break; } default: break; } } bindings.CompleteUpdate(DATA_CHANGED); } }
public void PropertyChanged_ViewModel_ShoppingCart(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) { ShoppingCartPage_obj1_Bindings bindings = TryGetBindingObject(); if (bindings != null) { string propName = e.PropertyName; global::FlightAppEliasGryp.Models.ShoppingCart obj = sender as global::FlightAppEliasGryp.Models.ShoppingCart; if (global::System.String.IsNullOrEmpty(propName)) { if (obj != null) { bindings.Update_ViewModel_ShoppingCart_ShoppingCartEntries(obj.ShoppingCartEntries, DATA_CHANGED); bindings.Update_ViewModel_ShoppingCart_M_GetFormattedAmountOfItems_757602046(DATA_CHANGED); bindings.Update_ViewModel_ShoppingCart_TotalCost(obj.TotalCost, DATA_CHANGED); } } else { switch (propName) { case "ShoppingCartEntries": { if (obj != null) { bindings.Update_ViewModel_ShoppingCart_ShoppingCartEntries(obj.ShoppingCartEntries, DATA_CHANGED); } break; } case "TotalCost": { if (obj != null) { bindings.Update_ViewModel_ShoppingCart_TotalCost(obj.TotalCost, DATA_CHANGED); } break; } case "GetFormattedAmountOfItems": { if (obj != null) { bindings.Update_ViewModel_ShoppingCart_M_GetFormattedAmountOfItems_757602046(DATA_CHANGED); } break; } default: break; } } bindings.CompleteUpdate(DATA_CHANGED); } }