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); }
public OnProgrammeAndIncentiveEarningPeriodsValidationProcessor( IStartDateValidator startDateValidator, IOnProgrammeAndIncentiveStoppedValidator onProgrammeAndIncentiveStoppedValidator, ICompletionStoppedValidator completionStoppedValidator, ICourseValidationProcessor courseValidationProcessor) { this.startDateValidator = startDateValidator; this.onProgrammeAndIncentiveStoppedValidator = onProgrammeAndIncentiveStoppedValidator; this.completionStoppedValidator = completionStoppedValidator; this.courseValidationProcessor = courseValidationProcessor; }