Exemple #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="validatorFactory"></param>
 /// <param name="loggerClient"></param>
 public LeadValidator(IValidatorFactory validatorFactory, ILoggerClient loggerClient)
 {
     _loggerClient            = loggerClient ?? throw new ArgumentNullException(nameof(loggerClient));
     _validatorFactory        = validatorFactory ?? throw new ArgumentNullException(nameof(validatorFactory));
     _leadCollectorValidators = _validatorFactory.BuildLeadCollectorValidators();
 }