C# Класс AggregateSource.Testing.Comparers.CompareNetObjectsBasedExceptionComparer

Compares exception using a ICompareLogic object and reports the differences.
Наследование: IExceptionComparer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Compare() публичный Метод

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.
Результат IEnumerable

CompareNetObjectsBasedExceptionComparer() публичный Метод

Initializes a new instance of the CompareNetObjectsBasedExceptionComparer class.
Thrown when the is null.
public CompareNetObjectsBasedExceptionComparer ( ICompareLogic logic ) : System
logic ICompareLogic The compare logic.
Результат System