Exemplo n.º 1
0
        private static bool EvalulateDirectly(object target, string expr, IReadOnlyDictionary <string, object> symbols = null)
        {
            var linqExpr = SexprParser.ParseAndBind(target, expr, symbols);
            var func     = Expression.Lambda <Func <bool> >(linqExpr).Compile();

            return(func());
        }