Class ItemSubTypeComparer
public class ItemSubTypeComparer : IEqualityComparer<ItemSubType>
- Inheritance
-
ItemSubTypeComparer
- Implements
- Inherited Members
Fields
Instance
public static readonly ItemSubTypeComparer Instance
Field Value
Methods
Equals(ItemSubType, ItemSubType)
Determines whether the specified objects are equal.
public bool Equals(ItemSubType x, ItemSubType y)
Parameters
x
ItemSubTypeThe first object of type
T
to compare.y
ItemSubTypeThe second object of type
T
to compare.
Returns
GetHashCode(ItemSubType)
Returns a hash code for the specified object.
public int GetHashCode(ItemSubType obj)
Parameters
obj
ItemSubTypeThe object for which a hash code is to be returned.
Returns
- int
A hash code for the specified object.
Exceptions
- ArgumentNullException
The type of
obj
is a reference type andobj
is null.