OnDeserialized with xml serialization
I've been trying to implement开发者_如何学Python the OnDeserialized attribute in a method inside a class. After I deserialize the class with XmlSerializer the method is never called.
Is OnDeserialized method called even when the serialized class is a member property of the main class being serialized?
Is there something I'm missing?
The XML Serializer does not use OnDeserialized or OnSerialized. It also doesn't use the [Serializable] attribute, BTW.
精彩评论