阅读背景:

代码合约比对象初始化器(.net 4.0)

来源:互联网 

At face value, it would seem that object initializers present a problem for .net 4.0 "code contracts", where normally the invariant should be established by the time the object constructor is finished. Presumably, however, object-initializers require properties to be set after construction is complete.At face value, it would seem that object initia




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

分享到: