Esempio n. 1
0
 public ContainsCharactersValidatorAttribute(string characterSet, ContainsCharacters containsCharacters)
 {
     ValidatorArgumentsValidatorHelper.ValidateContainsCharacterValidator(characterSet);
     this.characterSet       = characterSet;
     this.containsCharacters = containsCharacters;
 }
 public ContainsCharactersValidator(string characterSet, ExhibFlat.Components.Validation.Validators.ContainsCharacters containsCharacters, string messageTemplate, bool negated) : base(messageTemplate, null, negated)
 {
     ValidatorArgumentsValidatorHelper.ValidateContainsCharacterValidator(characterSet);
     this.characterSet       = characterSet;
     this.containsCharacters = containsCharacters;
 }