/// <summary> /// Serialize this object to the given serializer. /// </summary> public override void WriteTo(IXmlSerializer serializer) { serializer.StartDocument(null, Boolean.TRUE); var root = Root; if (root != null) { root.WriteTo(serializer); } serializer.EndDocument(); }
/// <summary> /// Serialize this object to the given serializer. /// </summary> public override void WriteTo(IXmlSerializer serializer) { serializer.StartDocument(null, Boolean.TRUE); var root = Root; if (root != null) root.WriteTo(serializer); serializer.EndDocument(); }