コード例 #1
0
 public CourseValidationProcessor(IStartDateValidator startDateValidator,
                                  ICompletionStoppedValidator completionStoppedValidator,
                                  IOnProgrammeAndIncentiveStoppedValidator onProgrammeAndIncentiveStoppedValidator,
                                  List <ICourseValidator> courseValidators)
 {
     this.startDateValidator         = startDateValidator;
     this.completionStoppedValidator = completionStoppedValidator;
     this.onProgrammeAndIncentiveStoppedValidator = onProgrammeAndIncentiveStoppedValidator;
     this.learnerAimValidators = new List <ICourseValidator>(courseValidators);
 }
コード例 #2
0
 public OnProgrammeAndIncentiveEarningPeriodsValidationProcessor(
     IStartDateValidator startDateValidator,
     IOnProgrammeAndIncentiveStoppedValidator onProgrammeAndIncentiveStoppedValidator,
     ICompletionStoppedValidator completionStoppedValidator,
     ICourseValidationProcessor courseValidationProcessor)
 {
     this.startDateValidator = startDateValidator;
     this.onProgrammeAndIncentiveStoppedValidator = onProgrammeAndIncentiveStoppedValidator;
     this.completionStoppedValidator = completionStoppedValidator;
     this.courseValidationProcessor  = courseValidationProcessor;
 }