protected StringMatcher(string compareTo, StringOperator compareWith)
        {
            if (compareTo == null)
            {
                throw new ArgumentNullException("compareTo", "CompareTo value cannot be null!");
            }

            this.compareTo   = compareTo;
            this.compareWith = compareWith;
        }
Example #2
0
 protected NameMatcher(string compareTo, StringOperator compareWith) : base(compareTo, compareWith)
 {
 }
Example #3
0
 protected StringMatcher(string compareTo, StringOperator compareWith)
 {
     CompareToValue      = compareTo ?? throw new ArgumentNullException(nameof(compareTo), "CompareTo value cannot be null!");
     CompareWithOperator = compareWith;
 }