public DD04IsInRangeRule(ISharedRule <List <LearningDelivery>, List <DD04Result> > dd04Rule,
                          IReferenceData <string, string> referenceData, IDateHelper dateHelper)
 {
     _dd04Rule      = dd04Rule;
     _ReferenceData = referenceData;
     _dateHelper    = dateHelper;
 }
Esempio n. 2
0
 public DoB48Validator(IShortRule <LearningDelivery> dd07IsYRule,
                       ISharedRule <Learner, bool> learnerDoBNotNullRule,
                       IShortRule <List <LearningDelivery> > dd04IsInRangeRule,
                       IShortRule <Learner> isLearnerBelowSchoolAge)
 {
     _dd07IsYRule             = dd07IsYRule;
     _learnerDoBNotNullRule   = learnerDoBNotNullRule;
     _dd04IsInRangeRule       = dd04IsInRangeRule;
     _IsLearnerBelowSchoolAge = isLearnerBelowSchoolAge;
 }
 public LearnDelFAMType66Validator(
     [KeyFilter(SharedRuleNames.LearnerDobShouldNotBeNull)] ISharedRule <Learner, bool> learnerDoBShouldNotbeNull,
     IFetchSpecificFundModelsLDsWithLearnStartDate fetchSpecificFundModelsLDsWithLearnStartDate,
     IPickValidLdsWithAgeLimitFamTypeAndCode pickValidLdsWithAgeLimitFamTypeAndCode,
     ILearnerDelFam66ExclusionRule learnerDelFamExclusionRulesValidator)
 {
     _learnerDoBShouldNotbeNull = learnerDoBShouldNotbeNull;
     _fetchSpecificFundModelsLDsWithLearnStartDate = fetchSpecificFundModelsLDsWithLearnStartDate;
     _pickValidLdsWithAgeLimitFamTypeAndCode       = pickValidLdsWithAgeLimitFamTypeAndCode;
     _learnerDelFamExclusionRulesValidator         = learnerDelFamExclusionRulesValidator;
 }
 public DoB48Validator(IDD07IsYRule dd07IsYRule,
                       ISharedRule <MessageLearner, bool> learnerDoBNotNullRule,
                       IShortRule <MessageLearner> dd04IsInRangeRule,
                       IShortRule <MessageLearner> isLearnerBelowSchoolAge,
                       IValidationErrorHandler <MessageLearner> validationErrorHandler)
 {
     _dd07IsYRule             = dd07IsYRule;
     _learnerDoBNotNullRule   = learnerDoBNotNullRule;
     _dd04IsInRangeRule       = dd04IsInRangeRule;
     _IsLearnerBelowSchoolAge = isLearnerBelowSchoolAge;
     _validationErrorHandler  = validationErrorHandler;
 }
Esempio n. 5
0
 public LearnDelFAMType66Validator(
     [KeyFilter(RuleNameConstants.LearnerDoBShouldNotBeNull)] ISharedRule <MessageLearner, bool> learnerDoBShouldNotbeNull,
     IFetchSpecificFundModelsLDsWithLearnStartDate fetchSpecificFundModelsLDsWithLearnStartDate,
     IPickValidLdsWithAgeLimitFamTypeAndCode pickValidLdsWithAgeLimitFamTypeAndCode,
     ILearnerDelFam66ExclusionRule learnerDelFamExclusionRulesValidator,
     IValidationErrorHandler <MessageLearner> validationErrorHandler)
 {
     _learnerDoBShouldNotbeNull = learnerDoBShouldNotbeNull;
     _fetchSpecificFundModelsLDsWithLearnStartDate = fetchSpecificFundModelsLDsWithLearnStartDate;
     _pickValidLdsWithAgeLimitFamTypeAndCode       = pickValidLdsWithAgeLimitFamTypeAndCode;
     _learnerDelFamExclusionRulesValidator         = learnerDelFamExclusionRulesValidator;
     _validationErrorHandler = validationErrorHandler;
 }
 public DD07IsYRuleDelFam66(ISharedRule <LearningDelivery, string> dd07Rule)
 {
     _dd07Rule = dd07Rule;
 }
Esempio n. 7
0
 public DD29IsYRule(ISharedRule <LearningDelivery, string> dd29Rule)
 {
     _dd29Rule = dd29Rule;
 }
Esempio n. 8
0
 public DD21IsYRule(ISharedRule <Learner, string> dd21Rule)
 {
     _dd21Rule = dd21Rule;
 }