C# Class AggregateSource.Testing.Comparers.CompareNetObjectsBasedFactComparer

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

Méthodes publiques

Méthode 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 méthode

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

CompareNetObjectsBasedFactComparer() public méthode

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