C# Class AggregateSource.Testing.Comparers.CompareNetObjectsBasedFactComparer

Compares facts using a ICompareObjects object and reports the differences.
Inheritance: IFactComparer
Datei anzeigen Open project: yreynhout/AggregateSource Class Usage Examples

Public Methods

Method Description
Compare ( Fact expected, Fact actual ) : IEnumerable

Compares the expected to the actual fact.

CompareNetObjectsBasedFactComparer ( ICompareLogic logic ) : System

Initializes a new instance of the CompareNetObjectsBasedFactComparer class.

Method Details

Compare() public method

Compares the expected to the actual fact.
public Compare ( Fact expected, Fact actual ) : IEnumerable
expected Fact The expected fact.
actual Fact The actual fact.
return IEnumerable

CompareNetObjectsBasedFactComparer() public method

Initializes a new instance of the CompareNetObjectsBasedFactComparer class.
Thrown when the comparer is null.
public CompareNetObjectsBasedFactComparer ( ICompareLogic logic ) : System
logic ICompareLogic The comparer.
return System