G
Guest
Hi
I have an object model which includes a Dictionary<> property which I am
trying to serialize/deserialize using IXmlSerializable as follows
class X:IDictionary<a,b>,IXmlSerializable)
What is happening is that the objects get persisted fine (checked using
notepad) and I can step through the WriteXml routine using the debugger.
However when trying to deserialize, my ReadXml routine is just not being
called - break points in the debugger are never being hit. The bizarre thing
is I have two such collections implemented pretty much identically and one
works and one doesn't!
Can anyone give me any pointers as to what the problem might be.
Thanks
Marek
I have an object model which includes a Dictionary<> property which I am
trying to serialize/deserialize using IXmlSerializable as follows
class X:IDictionary<a,b>,IXmlSerializable)
What is happening is that the objects get persisted fine (checked using
notepad) and I can step through the WriteXml routine using the debugger.
However when trying to deserialize, my ReadXml routine is just not being
called - break points in the debugger are never being hit. The bizarre thing
is I have two such collections implemented pretty much identically and one
works and one doesn't!
Can anyone give me any pointers as to what the problem might be.
Thanks
Marek