I would like to implement IXmlSerializable on a class and only override either ReadXml or WriteXml, but not both. If I didn't implement IXMLSerializable on this class, the XMLSerializer would automatically serialize all members. I'd like that default behavior to apply for the non-overridden case. However, since IXmlSerializable is an interface, and not a base class, I'm not sure how to go about that.
In addition, I need to, in one case, do the default behavior, and when that is complete add some extra code. So, I'd like to override and call back to the 'base' class behavior. Again, this would be trivial if there was a base class, but not so trivial since this is an interface.
Thanks!