Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.570.0)
Syntax
| C# |
|---|
public class DefaultComparisonSemantics : IComparisonSemantics |
| Visual Basic (Declaration) |
|---|
Public Class DefaultComparisonSemantics _ Implements IComparisonSemantics |
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>)>).
