I've got a Lambda Expression which is a function that does some operation in a previous context. Consequently, I will need to clone this object and carry over the expression to the new context, but I am concerned that there would be local values carried over into the new expression. I've made an effort to receive parameters into the expression and avoid object local values, so hopefully this is kept to a minimum. However, my question is, is it possible to clone an expression and have its compiled output honor the new object local values and not the old ones?
I can illustrate if that word picture wasn't descriptive enough.
I am operating under the basic assumption that at some level the same Lambda Expression rules are in effect. That is, how Lambda Expressions recognize local variables to the expression's context.
Thank you...