public SpirometryClassification(SpirometryClassificationParameters parameters) { _spirometry = parameters.Spirometry ?? throw new ArgumentNullException(nameof(parameters.Spirometry)); _patient = parameters.Patient ?? throw new ArgumentNullException(nameof(parameters.Patient)); _bodyComposition = parameters.BodyComposition ?? throw new ArgumentNullException(nameof(parameters.BodyComposition)); }
public SpirometryClassificationParameters(Spirometry spirometry, Patient patient, BodyComposition bodyComposition) { Spirometry = spirometry; Patient = patient; BodyComposition = bodyComposition; }