如何在c#中创建一个包以便在IronPython中使用
IhaveseendocumentationontheIronPythonmailinglistthatdescribeshowtowriteanextensionmoduleinc#.I'vebeenabletofollowthedocumentationanditworksfine.Howeve...
IronPython初体验和实战集合等类型转换和类型匹配
人老了,做什么都累~学到了这么多技术,从最早C到C++再到JAVA再到C#,最终都是为了改善产品,改善系统的可维护性。众所周知C#,C++,C都是强类型语言,什么情况都得定义一些实体类来改变业务模型,虽然C#4.0增加了很多runtime功能,但是要和脚本(比如PHP)比起来,真的还不够完美。就比如...
无法在IronPython和C#中为此接口强制转换类实现和接口
I'mtryingtowriteascriptingenginetomyC#/XNAgameusingIronPythonandcameacrossaproblem.我正在尝试使用IronPython为我的C#/XNA游戏编写脚本引擎,并遇到了一个问题。publicclassGame1:Game,I...
从C#Ironpython调用.dll函数
UsingIronpython,Icreateda.dllfroma.pyfile.IthasclassesandrespectivefunctionsthatIwanttocalltobeusedinc#.Icreatedthe.dllsothatIcanhidethesourcefromtheu...
如何在IronPython中创建Web服务?
HowdoIcreatea.NetWebServiceinIronPython?Preferablydynamicallywithoutanypre-orpost-processing.如何在IronPython中创建.NetWeb服务?优选地,动态地没有任何预处理或后处理。2个解决方案#10 H...
如何覆盖IronPython中的C#属性和方法?
IhaveaninterfacewithabaseclassinC#--I'dliketobeabletoimplementderivedclassesinIronPythonforembeddedextensibility.我在C#中有一个带基类的接口-我希望能够在IronPython中实现派生类...
如何在C#中提取IronPython脚本参数的名称
IhaveaPythonscriptasfollows:我有一个Python脚本如下:defVSH(GR,GRsand,GRshale):'''CalculatesVshfromgammainputs'''value=(((GR-GRsand)/(GRshale-GRsand)))if(value&...
如何在IronPython中创建.NET程序集并从C#调用它?
IwanttocreateanassemblyusingIronPythoncancallitfromC#.HerearetwothingsIamnotasking.我想使用IronPython创建一个程序集,可以从C#中调用它。这是我不问的两件事。I'mnotaskinghowtocallC#fr...
使用python或ironpython访问mssql最简单的方法是什么?
I'vegotmssql2005runningonmypersonalcomputerwithadatabaseI'dliketorunsomepythonscriptson.I'mlookingforawaytodosomereallysimpleaccessonthedata.I'dliketo...
使用IronPython时如何处理C#小数?
I'mnewtoIronPythonandPythoningeneral.I'mtryingtoworkwithC#decimalsandIronPythonmathfunctions.WhenItrytoreturntheabsolutevalueofanargument,Igetatypeexc...
如何创建可在IronPython中处理的C#事件处理程序?
HowdoIcreateaC#eventhandlerthatcanbehandledinIronPython?如何创建可在IronPython中处理的C#事件处理程序?NotethatIamusingIronPython2.0.1.Iamabletohandleeventsfromsystemcl...
C#GDI+图元组态和IronPython脚本应用之LED影像系统
这段时间一直进行LED影像系统紧张的开发工作,目前成绩还是非常“斐然”的,终于有了一点透气的机会:) 该系统从技术角度来说包括三点:一是图元组态(这点和普通的组态软件没有什么区别,由于面对的用户技术层次相对较低,所以把原来嵌入式组态修改属性的属性列表,修改为属性面板,以直观...
如何创建可在IronPython中处理的C#事件处理程序?
HowdoIcreateaC#eventhandlerthatcanbehandledinIronPython?如何创建可在IronPython中处理的C#事件处理程序?NotethatIamusingIronPython2.0.1.Iamabletohandleeventsfromsystemcl...