xmlunit-core : Org.XmlUnit.Diff Namespace

Diff Class

The Diff-Object is the result of two comparisons.

Syntax

public class Diff

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.6.0.121

Members

See Also: Inherited members from object.

Public Constructors

Creates the result of comparing two documents.
Creates the result of comparing two documents.

Public Properties

[read-only]
ControlSource ISource . The reference source.
[read-only]
Differences IEnumerable<Org.XmlUnit.Diff.Difference> . Documentation for this section has not yet been entered.
[read-only]
TestSource ISource . The test source.

Public Methods

HasDifferences () : bool
Documentation for this section has not yet been entered.
override
ToString () : string
Documentation for this section has not yet been entered.
ToString (Org.XmlUnit.Diff.IComparisonFormatter) : string
Stringify the outcome using the fiven formatter

Extension Methods

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

Member Details

Diff Constructor

Creates the result of comparing two documents.

Syntax

public Diff (Org.XmlUnit.ISource controlSource, Org.XmlUnit.ISource testSource, IEnumerable<Difference> differences)

Parameters

controlSource
the reference document
testSource
the test document
differences
list of differences found

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.6.0.121

Diff Constructor

Creates the result of comparing two documents.

Syntax

public Diff (Org.XmlUnit.ISource controlSource, Org.XmlUnit.ISource testSource, IComparisonFormatter formatter, IEnumerable<Difference> differences)

Parameters

controlSource
the reference document
testSource
the test document
formatter
formatter to use
differences
list of differences found

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.6.0.121

ControlSource Property

The reference source.

Syntax

public Org.XmlUnit.ISource ControlSource { get; }

Value

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.6.0.121

Differences Property

Documentation for this section has not yet been entered.

Syntax

public IEnumerable<Difference> Differences { get; }

Value

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.6.0.121

HasDifferences Method

Documentation for this section has not yet been entered.

Syntax

public bool HasDifferences ()

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.6.0.121

TestSource Property

The test source.

Syntax

public Org.XmlUnit.ISource TestSource { get; }

Value

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.6.0.121

ToString Method

Documentation for this section has not yet been entered.

Syntax

public override string ToString ()

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.6.0.121

ToString Method

Stringify the outcome using the fiven formatter

Syntax

public string ToString (IComparisonFormatter formatter)

Parameters

formatter
the formatter to use

Returns

a string representation of the outcome

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.6.0.121