C# Class AggregateSource.Testing.Comparers.CompareNetObjectsBasedExceptionComparer

Compares exception using a ICompareLogic object and reports the differences.
Inheritance: IExceptionComparer
Afficher le fichier Open project: yreynhout/AggregateSource Class Usage Examples

Méthodes publiques

Méthode Description
Compare ( Exception expected, Exception actual ) : IEnumerable

Compares the expected to the actual exception.

CompareNetObjectsBasedExceptionComparer ( ICompareLogic logic ) : System

Initializes a new instance of the CompareNetObjectsBasedExceptionComparer class.

Method Details

Compare() public méthode

Compares the expected to the actual exception.
public Compare ( Exception expected, Exception actual ) : IEnumerable
expected System.Exception The expected exception.
actual System.Exception The actual exception.
Résultat IEnumerable

CompareNetObjectsBasedExceptionComparer() public méthode

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