[protobuf] Protobuf-net v2: what happened to Serializer.Serialize(), Deserialize(), etc?

2013-09-19 Thread David Deutsch
I am trying to upgrade to v2, but all of the methods of the Serialize class are gone except for FlushPool() and a delegate called TypeResolver. Where did all the other methods go? -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To

Re: [protobuf] Protobuf-net v2: what happened to Serializer.Serialize(), Deserialize(), etc?

2013-09-19 Thread Marc Gravell
That would depend entirely on what exact DLL you are using. Those methods exist on all Full builds. I'm guessing you have referenced one of the CoreOnly builds. The CoreOnly builds are intended for use with the precompiler (

Re: [protobuf] Does protobuf-net have any known problems with nested dictionaries?

2013-09-19 Thread Marc Gravell
In all honestly I can't answer that off the top of my head, and I'm not at a PC. I can investigate and get back to you. Marc On 19 Sep 2013 17:54, David Deutsch da...@reverenddave.com wrote: I have the following member of a class: public SerializableDictionaryint,

Re: [protobuf] protobuf calling getter on deserialization?

2013-09-19 Thread Marc Gravell
What is the property? A sub-object? A List? If the serializer doesn't think it needs to call the setter: it won't. For example, the typical list handling code could be paraphrased (not the actual implementation) as: var list = obj.SomeList; bool setValue = false; if(list == null) {

[protobuf] Does protobuf-net have any known problems with nested dictionaries?

2013-09-19 Thread David Deutsch
I have the following member of a class: public SerializableDictionaryint, SerializableDictionaryint, int _test = new SerializableDictionaryint, SerializableDictionaryint, int(); [ProtoMember(112, OverwriteList = true)] public SerializableDictionaryint,

Re: [protobuf] Re: protobuf calling getter on deserialization?

2013-09-19 Thread Marc Gravell
Yes, OverwriteList should fix this. IgnoreListHandling does something very different that doesn't apply here (see the intellisense comments for full usage Marc On 19 Sep 2013 17:21, David Deutsch da...@reverenddave.com wrote: So I *think* what is happening is that protobuf does a get of the