コード例 #1
0
 public ContainsCharactersValidatorAttribute(string characterSet, ContainsCharacters containsCharacters)
 {
     ValidatorArgumentsValidatorHelper.ValidateContainsCharacterValidator(characterSet);
     this.characterSet       = characterSet;
     this.containsCharacters = containsCharacters;
 }
コード例 #2
0
 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;
 }