[Mono-dev] Need PutVar method on Mono.CSharp.Evaluator
tspink at gmail.com
Mon Aug 15 11:59:46 EDT 2011
On 15 August 2011 16:49, Slide <slide.o.mix at gmail.com> wrote:
> I think Charles is wondering how he gets his stuff inside the evaluator in
> the first place. For instance, if he has OUTSIDE the evaluator, some
> instance of an object, how does he get that object into the evaluator so the
> evaluator can interact with it. From my experience, there is access to the
> scope in which the evaluator is created in, I added objects to a "context"
> object and then grab them out inside the repl code as needed, but is there a
> better way to do it?
Well, his initial sample could be solved the way I suggested. However, a
quick Google turned up the following thread, which may be of some use:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list