Exemple #1
0
        public bool Evaluate(INegateNode node)
        {
            var     expresion = node.Expression.ToDomainItem(m_domainItemLocator);
            dynamic d         = expresion;

            return(!Evaluate(d));
        }
        public void Visit(INegateNode negateNode)
        {
            m_writer.WriteLine("NEG");
            m_writer.Write("|->");
            var child = negateNode
                        .Expression
                        .ToDomainItem(m_domainItemLocator);

            VisitSubExpression(child);
        }