Skip to content

IdComparer Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Equals(ParticipantId, ParticipantId)

View source
public bool Equals(ParticipantId x, ParticipantId y)
Determines whether the specified objects are equal.

Parameters

xParticipantId
The first object of type T to compare.
yParticipantId
The second object of type T to compare.

Returns

true if the specified objects are equal; otherwise, false.

GetHashCode(ParticipantId)

View source
public int GetHashCode(ParticipantId obj)
Returns a hash code for the specified object.

Parameters

objParticipantId
The System.Object for which a hash code is to be returned.

Returns

A hash code for the specified object.

Exceptions

System.ArgumentNullException
The type of obj is a reference type and obj is null.