public void Clone(CarbohydratesViewModel o)
 {
     this.Total        = o.Total;
     this.DietaryFiber = o.DietaryFiber;
     this.Sugar        = o.Sugar;
 }
Beispiel #2
0
 public ConsumableViewModel()
 {
     Fat           = new FatViewModel();
     Carbohydrates = new CarbohydratesViewModel();
 }