protobuf.net处理Nullable <datetimeoffset> </datetimeoffset>

时间:2012-07-11 06:07:51

标签: protobuf-net

如何使用protobuf.net序列化Nullable类型? 这篇文章试图解释一些方法:Can I serialize arbitrary types with protobuf-net?

问题在于,与Nullable相关的代理方法似乎存在错误,这也在链接帖子中提到。垫片属性方法不适合我们,主要是因为我们有很多这种类型的属性。

我们非常热衷于依靠protobuf.net进行序列化,因为它符合我们对紧凑和快速序列化的需求,但由于这个问题很难。

1 个答案:

答案 0 :(得分:2)

一张图片说千言万语......

enter image description here