Example #1
0
 public double GetTotalCalories()
 {
     return(this.Weight
            * 2
            * DoughValidator.GetBackingTechniqueModifier(this.BackingTechnique)
            * DoughValidator.GetFlourModifier(this.FlourType));
 }
Example #2
0
 public double GetTotalCalories()
 {
     return(this.Weight *
            ConstCaloriesPerGram *
            DoughValidator.GetBackingTechModifier(this.backingTechique) *
            DoughValidator.GetFlourModifier(this.flourType));
 }