private void WriteResults(XmlNodeList foundXmlNodes, string filePath) { foreach (XmlNode node in foundXmlNodes) { SelectXmlInfo sendToPipeline = new SelectXmlInfo { Node = node, Pattern = this.xpath, Path = filePath }; base.WriteObject(sendToPipeline); } }
private void WriteResults(XmlNodeList foundXmlNodes, string filePath) { Dbg.Assert(foundXmlNodes != null, "Caller should verify foundNodes != null"); foreach (XmlNode foundXmlNode in foundXmlNodes) { SelectXmlInfo selectXmlInfo = new SelectXmlInfo(); selectXmlInfo.Node = foundXmlNode; selectXmlInfo.Pattern = XPath; selectXmlInfo.Path = filePath; this.WriteObject(selectXmlInfo); } }
private void WriteResults(XmlNodeList foundXmlNodes, string filePath) { foreach (XmlNode node in foundXmlNodes) { SelectXmlInfo sendToPipeline = new SelectXmlInfo { Node = node, Pattern = this.xpath, Path = filePath }; base.WriteObject(sendToPipeline); } }