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
xItemSubTypeThe first object of type
Tto compare.yItemSubTypeThe second object of type
Tto compare.
Returns
GetHashCode(ItemSubType)
Returns a hash code for the specified object.
public int GetHashCode(ItemSubType obj)
Parameters
objItemSubTypeThe object for which a hash code is to be returned.
Returns
- int
A hash code for the specified object.
Exceptions
- ArgumentNullException
The type of
objis a reference type andobjis null.