Generic equality comparer, to quickly define custom comparer
public class GenericComparer<T> : EqualityComparer<T>| parameter | description |
|---|---|
| T | Type of the objects to compare |
| name | description |
|---|---|
| GenericComparer(…) | Creates a new GenericComparer using the specified key getter |
| override Equals(…) | Check two items keys (as retrieved by the key getter) for equality |
| override GetHashCode(…) | Returns the hash code of the key as retrieved by the key getter method |
- namespace Wokhan.Core.Comparers