问题
It seems that protobuf net doesn't support AsReference for lists/array and also AsReference for objects inside list/array. Will this be supported in final v2?
[ProtoMember(1, AsReference=true, DynamicType=true)]
List<object> list;
Thanks
回答1:
At current, no and no - but I should; collections are a gap here currently. One I shall address soon.
来源:https://stackoverflow.com/questions/7012313/does-protobuf-net-support-object-graphs-of-shared-references-inside-list-arrays