i have a short hopefully simple question. I am trying to save a settingsobject using XML Serializer. The object contains some base types like int, string, double,
and a struct called unit. The struct is defined in one of my third party dependencies. When I serialize the whole object everything is serialized correctly except the unit struct. Is there a way to add a custom serialize method to the exsiting .Net XmlSerializer, that manages the serialization for the unit struct?