xmlunit-core : Org.XmlUnit.Diff Namespace

AbstractDifferenceEngine.ComparisonState Class

Encapsulates the current result and a flag that indicates whether comparison should be stopped.

Syntax

public abstract class AbstractDifferenceEngine.ComparisonState : IEquatable<AbstractDifferenceEngine.ComparisonState>

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

See Also: Inherited members from object.

Protected Constructors

Public Methods

AndIfTrueThen (bool, Comparison) : AbstractDifferenceEngine.ComparisonState
May combine the current result with evaluating a comparison.
AndIfTrueThen (bool, Func<AbstractDifferenceEngine.ComparisonState>) : AbstractDifferenceEngine.ComparisonState
May combine the current result with a function that creates a new result.
AndThen (Comparison) : AbstractDifferenceEngine.ComparisonState
May combine the current result with evaluating a comparison.
AndThen (Func<AbstractDifferenceEngine.ComparisonState>) : AbstractDifferenceEngine.ComparisonState
May combine the current result with a function that creates a new result.
Equals (AbstractDifferenceEngine.ComparisonState) : bool
Documentation for this section has not yet been entered.
override
Equals (object) : bool
Documentation for this section has not yet been entered.
override
GetHashCode () : int
Documentation for this section has not yet been entered.
override
ToString () : string
Documentation for this section has not yet been entered.

Extension Methods

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

Member Details

AbstractDifferenceEngine.ComparisonState Constructor

Creates a ComparisonState

Syntax

protected AbstractDifferenceEngine.ComparisonState (AbstractDifferenceEngine engine, bool finished, ComparisonResult result)

Parameters

engine
engine used to evaluate comparisons
finished
whether the engine will stop comparing
result
the current result of the comparison process

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

AndIfTrueThen Method

May combine the current result with evaluating a comparison.

Syntax

public AbstractDifferenceEngine.ComparisonState AndIfTrueThen (bool predicate, Comparison comp)

Parameters

predicate
whether to actually evaluate the comparison
comp
new state will be obtained by performing the comparison

Returns

the old result if the engine is already finished or the predicate is false - or the result of evaluating the comparison

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

AndIfTrueThen Method

May combine the current result with a function that creates a new result.

Syntax

Parameters

predicate
whether to actually evaluate the producer
newStateProducer
calculates the new state unless the engine was already finished

Returns

the old result if the engine is already finished or the predicate is false - or the result of evaluating the producer

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

AndThen Method

May combine the current result with evaluating a comparison.

Syntax

Parameters

comp
new state will be obtained by performing the comparison

Returns

the old result if the engine is already finished or the result of evaluating the comparison

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

AndThen Method

May combine the current result with a function that creates a new result.

Syntax

Parameters

newStateProducer
calculates the new state unless the engine was already finished

Returns

the old result if the engine is already finished or the result of evaluating the producer

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

Equals Method

Documentation for this section has not yet been entered.

Syntax

Parameters

other
Documentation for this section has not yet been entered.

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

Equals Method

Documentation for this section has not yet been entered.

Syntax

public override bool Equals (object other)

Parameters

other
Documentation for this section has not yet been entered.

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

GetHashCode Method

Documentation for this section has not yet been entered.

Syntax

public override int GetHashCode ()

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

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