Exemplo n.º 1
0
 /// <summary>
 /// Save object to xml stream.
 /// </summary>
 /// <param name="a_stream"></param>
 public virtual void Save(Stream a_stream)
 {
     XmlWriterExtensions.WriteXml(a_stream, (writer) => WriteXml(writer));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Save object to xml stream.
 /// </summary>
 /// <param name="aStream"></param>
 public virtual void Save(Stream aStream)
 {
     XmlWriterExtensions.WriteXml(aStream, WriteXml);
 }