Example #1
0
 public void WriteXml(XmlWriter writer)
 {
     XmlSerializer.Serialize(writer, _value);
 }
Example #2
0
 public void ReadXml(XmlReader reader)
 {
     reader.ReadStartElement(nameof(NetworkAddress));
     _value = XmlSerializer.Deserialize <string>(reader);
     reader.ReadEndElement();
 }