Exemplo n.º 1
0
        public void WriteContentsTo(DomWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }

            writer.Write(ChildNodes);
        }
Exemplo n.º 2
0
        public void WriteTo(DomWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }

            writer.Write(this);
        }