public LearnDelFAMType66Validator(
     [KeyFilter(SharedRuleNames.LearnerDobShouldNotBeNull)] ISharedRule <Learner, bool> learnerDoBShouldNotbeNull,
     IFetchSpecificFundModelsLDsWithLearnStartDate fetchSpecificFundModelsLDsWithLearnStartDate,
     IPickValidLdsWithAgeLimitFamTypeAndCode pickValidLdsWithAgeLimitFamTypeAndCode,
     ILearnerDelFam66ExclusionRule learnerDelFamExclusionRulesValidator)
 {
     _learnerDoBShouldNotbeNull = learnerDoBShouldNotbeNull;
     _fetchSpecificFundModelsLDsWithLearnStartDate = fetchSpecificFundModelsLDsWithLearnStartDate;
     _pickValidLdsWithAgeLimitFamTypeAndCode       = pickValidLdsWithAgeLimitFamTypeAndCode;
     _learnerDelFamExclusionRulesValidator         = learnerDelFamExclusionRulesValidator;
 }
コード例 #2
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;
 }