C# Class AggregateSource.Testing.Comparers.CompareNetObjectsBasedResultComparer

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

Public Methods

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

Compares the expected to the actual event.

CompareNetObjectsBasedResultComparer ( ICompareLogic logic ) : System

Initializes a new instance of the CompareNetObjectsBasedResultComparer class.

Method Details

Compare() public method

Compares the expected to the actual event.
public Compare ( object expected, object actual ) : IEnumerable
expected object The expected event.
actual object The actual event.
return IEnumerable

CompareNetObjectsBasedResultComparer() public method

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