コード例 #1
0
ファイル: cart.g.cs プロジェクト: duyminh27102001/KiemTra
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::Food.Models.Carts)newDataRoot;
         return(true);
     }
     return(false);
 }
コード例 #2
0
ファイル: cart.g.cs プロジェクト: duyminh27102001/KiemTra
 // Update methods for each path node used in binding steps.
 private void Update_(global::Food.Models.Carts obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_image(obj.image, phase);
             this.Update_name(obj.name, phase);
             this.Update_Price(obj.Price, phase);
             this.Update_quantity(obj.quantity, phase);
         }
     }
 }