xmlunit-core : Org.XmlUnit.Diff Namespace

IComparisonFormatter Interface

Formatter methods for a Comparison Object.

Syntax

public interface IComparisonFormatter

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

Members

Public Methods

GetDescription (Comparison) : string
Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.
GetDetails (Comparison.Detail, ComparisonType, bool) : string
Return the xml node from Detail#Target as formatted String.

Extension Methods

static
Singleton<T> (this T) : IEnumerable<T>
An enumerable containing a single element.

Member Details

GetDescription Method

Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.

Syntax

public string GetDescription (Comparison comparison)

Parameters

comparison
The Comparison to describe.

Returns

Documentation for this section has not yet been entered.

Remarks

This is used for Diff#ToString().

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

GetDetails Method

Return the xml node from Detail#Target as formatted String.

Syntax

public string GetDetails (Comparison.Detail details, ComparisonType type, bool formatXml)

Parameters

details
The Comparison#ControlDetails or Comparison#TestDetails.
type
The implementation can return different details depending on the ComparisonType.
formatXml
set this to true if the Comparison was generated with DiffBuilder#IgnoreWhitespace.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241