Beispiel #1
0
 public FunctionalSkillEarningPeriodsValidationProcessor(
     IFunctionalSkillValidationProcessor functionalSkillValidationProcessor,
     ICalculatePeriodStartAndEndDate calculatePeriodStartAndEndDate)
 {
     this.functionalSkillValidationProcessor = functionalSkillValidationProcessor;
     this.calculatePeriodStartAndEndDate     = calculatePeriodStartAndEndDate;
 }
 public EarningPeriodsValidationProcessor(ICourseValidationProcessor courseValidationProcessor,
                                          IFunctionalSkillValidationProcessor functionalSkillValidationProcessor,
                                          ICalculatePeriodStartAndEndDate calculatePeriodStartAndEndDate)
 {
     this.courseValidationProcessor          = courseValidationProcessor ?? throw new ArgumentNullException(nameof(courseValidationProcessor));
     this.functionalSkillValidationProcessor = functionalSkillValidationProcessor ?? throw new ArgumentNullException(nameof(functionalSkillValidationProcessor));
     this.calculatePeriodStartAndEndDate     = calculatePeriodStartAndEndDate ?? throw new ArgumentNullException(nameof(calculatePeriodStartAndEndDate));
 }