Formatter methods for a Comparison Object.
|
GetDescription
(Comparison)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)Return the xml node from Detail#Target as formatted String. |
static
|
Singleton<T>
(this T)An enumerable containing a single element. |
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
Return the xml node from Detail#Target as formatted String.Syntax
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