public override BodyComposition BuildWithoutModelValidation()
 {
     return(new BodyComposition
     {
         Height = Height.Build(_heightInches),
         Hips = Hips.Build(_hipsInches),
         Waist = Waist.Build(_waistInches),
         Weight = Weight.Build(_weightPounds)
     });
 }
 public override BodyCompositionExpanded BuildWithoutModelValidation()
 {
     return(new BodyCompositionExpanded
     {
         Height = Height.Build(_heightInches),
         Waist = Waist.Build(_waistInches),
         Hips = Hips.Build(_hipsInches),
         Weight = Weight.Build(_weightPounds),
         VisceralFat = _visceralFatCm2,
         PercentBodyFat = _percentBodyFat
     });
 }
Exemple #3
0
 private BodyComposition(double heightInches, double waistInches, double hipsInches, double weightPounds)
     : this(Height.Build(heightInches), Waist.Build(waistInches), Hips.Build(hipsInches),
            Weight.Build(weightPounds))
 {
 }