阅读背景:

我的重载应该如何明确?

来源:互联网 

I'm building a wrapper for a jquery plugin to C# and I dont like the usage of [Optional] because its not as "optional" as it says it is(meaning you still have to declare that System.Missing library) so I decided to use overloaded methods. I want to give the user alot of customization but I'm not sure how explicit I should be with my overloads. Should I break it down in terms of importance for the parameters or do an overload for every scenario.I'm building a wrapper for a jquery plugin to C




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: