C# Class AggregateSource.Testing.Comparers.CompareNetObjectsBasedEventComparer

Compares events using a ICompareLogic object and reports the differences.
Inheritance: IEventComparer
Mostrar archivo Open project: yreynhout/AggregateSource Class Usage Examples

Public Methods

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

Compares the expected to the actual event.

CompareNetObjectsBasedEventComparer ( ICompareLogic logic ) : System

Initializes a new instance of the CompareNetObjectsBasedEventComparer 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

CompareNetObjectsBasedEventComparer() public method

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