阅读背景:

protobuf-net:处理IEnumerable中的空值?通过什么属性/设置?

来源:互联网 

Some sample code below. The interesting/problem case is the Data property in Mad. This code blows up (null value in the enumerable). Also, it works if i don't use the static attributes but instead the runtime type model, where i put in member.SupportNull = true for the fields (which is the behaviour i want), so what am i missing in the attributes / settings? Google search seems to indicate this is an open issue with probuf-net? That the same functionality is not available via attributes?Some sample code below. The interesting/problem




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

分享到: