Class IdentityComparer<T>
Inheritance
IdentityComparer<T>
Assembly: Mapsui.dll
Syntax
public class IdentityComparer<T> : IEqualityComparer<T> where T : class
Type Parameters
Methods
|
Edit this page
View Source
Equals(T?, T?)
Determines whether the specified objects are equal.
Declaration
public bool Equals(T? obj, T? otherObj)
Parameters
| Type |
Name |
Description |
| T |
obj |
|
| T |
otherObj |
|
Returns
| Type |
Description |
| bool |
true if the specified objects are equal; otherwise, false.
|
|
Edit this page
View Source
GetHashCode(T)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(T obj)
Parameters
| Type |
Name |
Description |
| T |
obj |
The object for which a hash code is to be returned.
|
Returns
| Type |
Description |
| int |
A hash code for the specified object.
|
Exceptions
Implements
Extension Methods