I would like to call a method of an object before the object is serialized.
I currently have a surrogate that I use for deserilization and was thinking
I could use one for serialization but that means I have to handle
GetObjectData for each object which I don't want to do unless there is a way
to make a generic one to work with any object.
Any suggestions?
-Joe
I currently have a surrogate that I use for deserilization and was thinking
I could use one for serialization but that means I have to handle
GetObjectData for each object which I don't want to do unless there is a way
to make a generic one to work with any object.
Any suggestions?
-Joe
Comment