doesn't this have to do with dictionaries not being serializable in .net?
On Fri, Oct 23, 2009 at 2:59 PM, Vadim Kantorov <[email protected]>wrote:
>
> Found out XmlMessageSerializer doesn't support Dictionaries and
> subclasses of generic collections (sublcasses of Dictionary or List).
>
> var ms = new MemoryStream();
> var serializer = new XmlMessageSerializer(new DefaultReflection(), new
> DefaultKernel());
> serializer.Serialize(new []{new Dictionary<string, int>{{"abs", 1}}},
> ms );
> ms.Position = 0;
> serializer.Deserialize(ms);
>
> Am I missing anything?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---