开发者

Ironpython - Named parameters to constructor

开发者 https://www.devze.com 2022-12-25 03:10 出处:网络
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 s

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 pr开发者_运维百科operties are evaluated.

Is this possible?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消