Bytes2you.Validation.ValidationPredicates.StringPredicates.StringNotRegexMatchValidationPredicate.IsMatch C# (CSharp) Method

IsMatch() protected method

protected IsMatch ( string value ) : bool
value string
return bool
        protected override bool IsMatch(string value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value", ValidationPredicateMessages.NullMessage);
            }

            return !Regex.IsMatch(value, this.Pattern);
        }
    }