阅读背景:

调用IronPython函数时CodeContext的相关性

来源:互联网 

I'm calling an IronPython function from C#. It seems that on definition, this function captures its original scope. When I later call it without an explicit scope, it can still access values from that original scope. Even if I change scope values, it correctly reads the new values. Take a look at this example:I'm calling an IronPython function from C#. It




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: