Vadim Kantorov
unread,Oct 23, 2009, 5:59:21 PM10/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Rhino Tools Dev
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?