ExpressionBody Splice(Expression <CompiledExpression> lambda)
 {
     return(ParameterReplacementVisitor.ReplaceParameters(lambda, Context));
 }
        public static Expression ReplaceParameters(LambdaExpression lambda, params ParameterExpression[] newParameters)
        {
            var v = new ParameterReplacementVisitor(lambda.Parameters.ToArray(), newParameters);

            return(v.Visit(lambda.Body));
        }