コード例 #1
0
 public ExpressionExecutor(IConstantExpressionExecutor constantExpressionExecutor,
                           IFunctionExpressionExecutor functionExpressionExecutor,
                           IBatchExpressionExecutor batchExpressionExecutor)
 {
     _constantExpressionExecutor = constantExpressionExecutor;
     _functionExpressionExecutor = functionExpressionExecutor;
     _batchExpressionExecutor    = batchExpressionExecutor;
 }
コード例 #2
0
        private object Act(IExpression expression,
                           IConstantExpressionExecutor constantExpressionExecutor = null,
                           IFunctionExpressionExecutor functionExpressionExecutor = null,
                           IBatchExpressionExecutor batchExpressionExecutor       = null)
        {
            var expressionExecutor = new ExpressionExecutor(constantExpressionExecutor, functionExpressionExecutor, batchExpressionExecutor);

            return(expressionExecutor.Execute(expression));
        }