Describes the semantics of how objects should be compared.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static class ComparisonSemantics |
| Visual Basic (Declaration) |
|---|
Public NotInheritable Class ComparisonSemantics |
Remarks
This class encapsulates a default set of rules for comparing objects. These rules may be used as the foundation of a suite of standard assertion functions for comparing identity, equality and relations.
The comparison engine has extension points available:
Custom comparers defined through CustomComparers or CustomEqualityComparers have always a higher priority than any built-in comparer, including inner type comparers such as IEquatable<(Of <(T>)>) or IComparable<(Of <(T>)>).
