Пример #1
0
        public void WriteContentsTo(DomWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }

            writer.Write(ChildNodes);
        }
Пример #2
0
        public void WriteTo(DomWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }

            writer.Write(this);
        }