public Validator(ValidatorSettings settings = null) { _expressionValidator = new ClassValidatorExpression(); _errors = new Dictionary <string, List <string> >(); _settings = settings ?? new ValidatorSettings(); }
protected ClassObjectValidatorBase() { ValidatorExpression = new ClassValidatorExpression(); _validationExpressionErrorMessageFactory = new ValidationExpressionErrorMessageFactory <T, TMember>(); }