Interface IXmlNodeBuilder
An object implementing IXmlNodeBuilder is able to build an XML representation of itself and any children.
Namespace: NUnit.Framework.Interfaces
Assembly: nunit.framework.dll
Syntax
public interface IXmlNodeBuilderMethods
View SourceAddToXml(TNode, bool)
Returns a TNode representing the current object after adding it as a child of the supplied parent node.
Declaration
TNode AddToXml(TNode parentNode, bool recursive)Parameters
| Type | Name | Description | 
|---|---|---|
| TNode | parentNode | The parent node. | 
| bool | recursive | If true, children are included, where applicable | 
Returns
| Type | Description | 
|---|---|
| TNode | 
ToXml(bool)
Returns a TNode representing the current object.
Declaration
TNode ToXml(bool recursive)Parameters
| Type | Name | Description | 
|---|---|---|
| bool | recursive | If true, children are included where applicable | 
Returns
| Type | Description | 
|---|---|
| TNode | A TNode representing the result |