Esempio n. 1
0
        public INodeWriter CreateElement(string name, ISerialiserNode parentNode)
        {
            var newbornElement = document.CreateElement(name);

            parentNode.AppendChild(name);

            var newborn = new NXmlNodeWriter(parentNode.Depth + 1, name);

            newborn.BeginWrite(streamWriter);
            return(newborn);
        }
Esempio n. 2
0
 public ISerialiserNode AppendChild(string name)
 {
     return(node.AppendChild(name));
 }
Esempio n. 3
0
        public INodeWriter CreateElement(string name, ISerialiserNode parentNode)
        {
            var newbornElement = document.CreateElement(name);
            parentNode.AppendChild(name);

            var newborn = new NXmlNodeWriter(parentNode.Depth + 1, name);

            newborn.BeginWrite(streamWriter);
            return newborn;
        }