public TypeValidator(IArrayValidator stringArrayWithUniqueValuesValidator, ITypeElementSpecification typeElementSpecification, IEnumerable <IArrayFilterer> arrayFilterers) { _stringArrayWithUniqueValuesValidator = stringArrayWithUniqueValuesValidator; _typeElementSpecification = typeElementSpecification; _arrayFilterers = arrayFilterers.ToList(); }
public ObjectValidator(ITokenValidatorFactory tokenHandlerFactory, IArrayValidator arrayValidator, IKeywordFactory keywordFactory) { _tokenHandlerFactory = tokenHandlerFactory; _arrayValidator = arrayValidator; _keywords = keywordFactory.GetKeywords().Select(keyword => new TokenName(keyword.Keyword)).ToImmutableHashSet(); }
public RequiredValidator(IArrayValidator stringArrayWithUniqueValuesValidator, IEnumerable <IArrayFilterer> arrayFilterers) { _stringArrayWithUniqueValuesValidator = stringArrayWithUniqueValuesValidator; _arrayFilterers = arrayFilterers.ToList(); }
public EnumValidator(IArrayValidator arrayValidator, IEnumerable <IArrayFilterer> arrayFilterers) { _arrayValidator = arrayValidator; _arrayFilterers = arrayFilterers.ToList(); }