C# Класс PclUnit.Constraints.Pieces.NUnitEqualityComparer

NUnitEqualityComparer encapsulates NUnit's handling of equality tests between objects.
Наследование: INUnitEqualityComparer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AreEqual ( object x, object y, Tolerance &tolerance ) : bool

Compares two objects for equality within a tolerance.

Приватные методы

Метод Описание
ArraysEqual ( Array x, Array y, Tolerance &tolerance ) : bool

Helper method to compare two arrays

CollectionsEqual ( ICollection x, ICollection y, Tolerance &tolerance ) : bool
DictionariesEqual ( IDictionary x, IDictionary y, Tolerance &tolerance ) : bool
EnumerablesEqual ( IEnumerable x, IEnumerable y, Tolerance &tolerance ) : bool
FirstImplementsIEquatableOfSecond ( Type first, Type second ) : bool
GetEquatableGenericArguments ( Type type ) : System.Type[]
GetExternalComparer ( object x, object y ) : EqualityAdapter
InvokeFirstIEquatableEqualsSecond ( object first, object second ) : bool
StreamsEqual ( Stream x, Stream y ) : bool
StringsEqual ( string x, string y ) : bool

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

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

Compares two objects for equality within a tolerance.
public AreEqual ( object x, object y, Tolerance &tolerance ) : bool
x object
y object
tolerance Tolerance
Результат bool