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