public void WriteTo(PropertyTreeWriter writer) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } writer.WriteNode(this); }
public void CopySubtreeTo(PropertyTreeWriter writer) { if (writer == null) { throw new ArgumentNullException("writer"); // $NON-NLS-1 } writer.CopyCurrent(this); writer.ReadSubtree(this); }
public void CopyTo(PropertyTreeWriter writer) { if (writer == null) { throw new ArgumentNullException("writer"); // $NON-NLS-1 } // Move past initial implicitly StartImplicitly(); writer.CopyCurrent(this); writer.ReadToEnd(this); }
public void WriteContentsTo(PropertyTreeWriter writer) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } foreach (var s in Children) { writer.WriteNode(s); } }
public void WriteTo(PropertyTreeWriter writer) { throw new NotImplementedException(); }
public void SaveXml(Stream outputStream, Encoding encoding = null, PropertyTreeWriterSettings settings = null) { using (var writer = PropertyTreeWriter.CreateXml(outputStream, encoding, settings)) { SaveXmlCore(writer); } }
public void SaveXml(XmlWriter xmlWriter, PropertyTreeWriterSettings settings = null) { using (var writer = PropertyTreeWriter.CreateXml(xmlWriter, settings)) { SaveXmlCore(writer); } }
public static PropertyTreeXmlWriter Create(XmlWriter outputWriter, PropertyTreeWriterSettings settings = null) { return(PropertyTreeWriter.CreateXml(outputWriter, settings)); }
public static PropertyTreeXmlWriter Create(Stream outputStream, Encoding encoding = null, PropertyTreeWriterSettings settings = null) { return(PropertyTreeWriter.CreateXml(outputStream, encoding, settings)); }
public static PropertyTreeXmlWriter Create(string outputFileName, PropertyTreeWriterSettings settings = null) { return(PropertyTreeWriter.CreateXml(outputFileName, settings)); }