如何使用Iron Python从Silverlight访问WPF类库.是否有可能? [英] How to access WPF class library from Silverlight using iron python. Is it possible?
问题描述
我有一个班级图书馆.我能够像平常一样从Iron Python控制台访问该程序集.
I'm having a class library. I'm able to access that assembly from iron python console as normal.
我的目标是创建一个Silverlight类库,该库使用python脚本访问该WPF类库.是否有可能?还有其他方法可以实现这一目标或解决方法.
My goal is to create a Silverlight class library which uses a python script to access that WPF class library what I'm having. Is it possible? Is there any other way to achieve this or any work around.
如果需要更多详细信息,我可以提供我现在正在做的示例.
I can provide a sample of what I'm doing now, If more details are needed.
谢谢
推荐答案
除非类的代码与Silverlight库兼容并且针对Silverlight的库进行了重新编译,否则您将无法使用该类库.
You will not be able to use the class library unless its code is compatible with Silverlight libraries and is re-compiled targeting the Silverlight ones.
这篇关于如何使用Iron Python从Silverlight访问WPF类库.是否有可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!