Exemplo n.º 1
0
 public StretchingRegimenClassification(StretchingRegimen regimen) : base(regimen)
 {
     if (regimen == null)
     {
         throw new ArgumentNullException(nameof(regimen));
     }
     Goals = ExerciseRegimenGoalsRepository.GetTotalWeeklyDurationGoals(ExerciseClassification.Stretching);
 }
Exemplo n.º 2
0
 public CardiovascularRegimenClassification(CardiovascularRegimen regimen) : base(regimen)
 {
     if (regimen == null)
     {
         throw new ArgumentNullException(nameof(regimen));
     }
     Goals = ExerciseRegimenGoalsRepository.GetTotalWeeklyDurationGoals(ExerciseClassification.Cardiovascular);
 }
Exemplo n.º 3
0
 public ResistanceRegimenClassification(ResistanceRegimen regimen) : base(regimen)
 {
     _regimen = regimen ?? throw new ArgumentNullException(nameof(regimen));
     Goals    = ExerciseRegimenGoalsRepository.GetTotalWeeklyDurationGoals(ExerciseClassification.Resistance);
 }