Table of Contents

Interface IXmlNodeBuilder

Namespace
NUnit.Framework.Interfaces
Assembly
nunit.framework.dll

An object implementing IXmlNodeBuilder is able to build an XmlNode representation of itself and any children.

public interface IXmlNodeBuilder

Methods

AddToXml(XmlNode, bool)

Returns an XmlNode representing the current object after adding it as a child of the supplied parent node.

XmlNode AddToXml(XmlNode parentNode, bool recursive)

Parameters

parentNode XmlNode

The parent node.

recursive bool

If true, children are included, where applicable

Returns

XmlNode

ToXml(bool)

Returns an XmlNode representing the current object.

XmlNode ToXml(bool recursive)

Parameters

recursive bool

If true, children are included where applicable

Returns

XmlNode

An XmlNode representing the result