Example #1
0
        public CodeExpression Clone()
        {
            NotEqual result = new NotEqual();

            result._leftExpression  = RuleExpressionWalker.Clone(_leftExpression);
            result._rightExpression = RuleExpressionWalker.Clone(_rightExpression);
            return(result);
        }
Example #2
0
        public bool Match(CodeExpression expression)
        {
            NotEqual other = expression as NotEqual;

            return((other != null) &&
                   RuleExpressionWalker.Match(_leftExpression, other._leftExpression) &&
                   RuleExpressionWalker.Match(_rightExpression, other._rightExpression));
        }