Serialisation

Serialise data to xml

Reference the library

C#
using CI.WSANative.Serialisers;

Serialise to xml

All public properties on the object will be serialised - use the System.Xml.Serialization.XmlIgnore attribute to ignore properties

C#
WSANativeSerialisation.SerialiseToXML(MyObject);

Deserialise xml

If the type to deserialise to has a constructor that takes arguments a default constructor must be specified as well

C#
WSANativeSerialisation.DeserialiseXML<ObjectType>(MyObject);