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
x
StatTypeThe first object of type
T
to compare.y
StatTypeThe second object of type
T
to 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
obj
is a reference type andobj
is null.