Table of Contents

Interface IXmlNodeBuilder

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

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

public interface IXmlNodeBuilder

Methods

AddToXml(TNode, bool)

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

TNode AddToXml(TNode parentNode, bool recursive)

Parameters

parentNode TNode

The parent node.

recursive bool

If true, children are included, where applicable

Returns

TNode

ToXml(bool)

Returns a TNode representing the current object.

TNode ToXml(bool recursive)

Parameters

recursive bool

If true, children are included where applicable

Returns

TNode

A TNode representing the result