Exemplo n.º 1
0
 internal void WriteStreamingElement(XStreamingElement e)
 {
     FlushElement();
     _element = e;
     Write(e.content);
     FlushElement();
     _writer.WriteEndElement();
     _resolver.PopScope();
 }
Exemplo n.º 2
0
        internal void WriteStreamingElement(XStreamingElement e)
        {
            FlushElement();
            _element = e;
            Write(e.content);
            bool contentWritten = _element == null;

            FlushElement();
            if (contentWritten)
            {
                _writer.WriteFullEndElement();
            }
            else
            {
                _writer.WriteEndElement();
            }
            _resolver.PopScope();
        }
Exemplo n.º 3
0
 private void WriteEndElement()
 {
     _writer.WriteEndElement();
     _resolver.PopScope();
 }
Exemplo n.º 4
0
 void WriteEndElement()
 {
     writer.WriteEndElement();
     resolver.PopScope();
 }