You can certainly use protobuf-net without the *protobuf-net*
attributes; it will accept XmlSerializer or DataContractSerializer
attributes as long as the Order is specified (which it can use as the
tag).

Or if it knows your types are broadly serializable, there is a
Serializer.GlobalOptions.InferTagFromName (or something like that)
that allows automatic tags, but that is brittle - it breaks if
somebody adds the AardvarkCount property (if you see what I mean).

Long term; there is a separate branch (very unstable, very incomplete)
of protobuf-net that provides an **external** meta layer, so you can
describe a model against types separately (including adding protobuf-
net support for types outside of your control).

I haven't been able to progress that branch lately (available time
etc) - but I very much plan on completing that work...

Marc Gravell
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to