Implemented by reference classes that do not want to implement IEquatable{T}, but do want to support some form of equivalence.
public interface IHasEquivalence<in T>
| parameter | description |
|---|---|
| T | The class type. |
| name | description |
|---|---|
| IsEquivalentTo(…) | Determines whether the object is equivalent to the specified object. |
This interface is similar to IEquatable{T}, but avoids the baggage of hash codes, overloaded equality operators, immutability requirements, etc.