IronPython的 - 命名参数构造器参数、IronPython

2023-09-06 06:43:22 作者:我们说好的幸福呢

当我创建我的C#类的IronPython与命名参数的构造函数的一个实例,它被设置相应的参数的名称属性。我希望禁止这种行为,所以我可以有属性的计算顺序上更好的控制。

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.

这可能吗?

推荐答案

有没有办法关闭这个功能,而无需修改IronPython的。

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