Ironpython - Named parameters to constructor

谁说胖子不能爱 提交于 2019-12-11 08:14:49

问题


When I create an instance of my C# class in IronPython with named parameters to the constructor, it is setting properties corresponding to the names of the parameters. I wish to disable this behavior so I can have better control on the order the properties are evaluated.

Is this possible?


回答1:


There's no way to turn this off without modifying IronPython.



来源:https://stackoverflow.com/questions/2517367/ironpython-named-parameters-to-constructor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!