Example #1
0
        public NegationEvaluator(FilterEvaluator inner)
        {
            if (inner == null)
            {
                throw new ArgumentNullException(nameof(inner));
            }

            this.inner = inner;
        }
        public AlternativeEvaluator(FilterEvaluator first, FilterEvaluator second)
        {
            if (first == null)
            {
                throw new ArgumentNullException(nameof(first));
            }

            if (second == null)
            {
                throw new ArgumentNullException(nameof(second));
            }

            this.first  = first;
            this.second = second;
        }