Microsoft.Protocols.TestSuites.Common.XmlWriterInjector.WriteNode C# (CSharp) Method

WriteNode() public method

A method used to copies everything from the reader to the writer and moves the reader to the start of the next sibling.
public WriteNode ( System navigator, bool defattr ) : void
navigator System A parameter represents the System.Xml.XPath.XPathNavigator to copy from.
defattr bool A parameter represents whether copy the default attributes from the XmlReader, true means copy, false means not copy.
return void
        public override void WriteNode(System.Xml.XPath.XPathNavigator navigator, bool defattr)
        {
            this.originalXmlWriter.WriteNode(navigator, defattr);
            this.injectorXmlTextWriter.WriteNode(navigator, defattr);
        }

Same methods

XmlWriterInjector::WriteNode ( XmlReader reader, bool defattr ) : void