阅读背景:

你能在IronPython中对一个.NET对象进行类型转换吗?

来源:互联网 

I'm interfacing with a .NET API in IronPython. The API is returning an object of the wrong type (some kind of generic object). I suspect that the problem is not showing up in their C# code because the type declaration when the object is constructed is forcing the returned object to the correct type. Is it possible to typecast an .NET object in IronPython? I think this would do the trick.I'm interfacing with a .NET API in IronPython.




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

分享到: