public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::FlightAppEliasGryp.Models.ShoppingCartEntry)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::FlightAppEliasGryp.Models.ShoppingCartEntry obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_Product(obj.Product, phase); this.Update_M_GetTotalCost_757602046(phase); this.Update_M_GetPriceAfterPromotions_757602046(phase); this.Update_Quantity(obj.Quantity, phase); } } if ((phase & ((1 << 0) | NOT_PHASED)) != 0) { // Views\ShoppingCartPage.xaml line 208 if (!isobj9TagDisabled) { XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_Tag(this.obj9, obj, null); } // Views\ShoppingCartPage.xaml line 217 if (!isobj10TagDisabled) { XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_Tag(this.obj10, obj, null); } // Views\ShoppingCartPage.xaml line 226 if (!isobj11TagDisabled) { XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_Tag(this.obj11, obj, null); } // Views\ShoppingCartPage.xaml line 197 if (!isobj13TagDisabled) { XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_Tag(this.obj13, obj, null); } } this.CompleteUpdate(phase); }