Class StatTypeComparer
[Serializable]
public class StatTypeComparer : IEqualityComparer<StatType>
- Inheritance
-
StatTypeComparer
- Implements
- Inherited Members
Fields
Instance
public static readonly StatTypeComparer Instance
Field Value
Methods
Equals(StatType, StatType)
Determines whether the specified objects are equal.
public bool Equals(StatType x, StatType y)
Parameters
xStatTypeThe first object of type
Tto compare.yStatTypeThe second object of type
Tto compare.
Returns
GetHashCode(StatType)
Returns a hash code for the specified object.
public int GetHashCode(StatType obj)
Parameters
Returns
- int
A hash code for the specified object.
Exceptions
- ArgumentNullException
The type of
objis a reference type andobjis null.