Represents a strongly-typed method that determines whether two objects of the same type are equal.
Namespace:
Gallio.CommonAssembly: Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.570.0)
Syntax
| C# |
|---|
public delegate bool EqualityComparison<T>( T x, T y ) |
| Visual Basic (Declaration) |
|---|
Public Delegate Function EqualityComparison(Of T) ( _ x As T, _ y As T _ ) As Boolean |
Parameters
- x
- Type: T
The first object to compare.
- y
- Type: T
The second object to compare.
Type Parameters
- T
- The type of the objects to compare.
Return Value
True if the object are equal; otherwise false.
Remarks
This delegate is for IEquatable<(Of <(T>)>), what Comparison<(Of <(T>)>) is for IComparable<(Of <(T>)>).
