XmlSerialization of IXmlSerializable array
问题 I have a scenario where the Request objects are XML Serailized and sent back to a TCP server for getting processed. The serialization is done by a legacy framework. Needless to say, I can't make changes in the legacy framework. The legacy framework, however is smart enough to realize if a request object is implementing IXmlSerializable , in that case it takes the WriteXml method of the interface to do the serialization. I wanted to keep maximum control of the serailzation process in my hand,