Example #1
0
        public Func <object, bool> BuildLogicalExpression(string expression)
        {
            LogicalExpressionQueue block = new LogicalExpressionQueue(this);

            IExpression <bool> exp = Builder.BuildBlockExpression <bool>(expression, block);

            return(new Func <object, bool>(exp.Evaluate));
        }
Example #2
0
        public Func<object, bool> BuildLogicalExpression(string expression)
        {
            LogicalExpressionQueue block = new LogicalExpressionQueue(this);

            IExpression<bool> exp = Builder.BuildBlockExpression<bool>(expression, block);

            return new Func<object, bool>(exp.Evaluate);
        }