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

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