Table of Contents

Class ItemSubTypeComparer

Namespace
Nekoyume.Model.Item
Assembly
Lib9c.dll
public class ItemSubTypeComparer : IEqualityComparer<ItemSubType>
Inheritance
ItemSubTypeComparer
Implements
Inherited Members

Fields

Instance

public static readonly ItemSubTypeComparer Instance

Field Value

ItemSubTypeComparer

Methods

Equals(ItemSubType, ItemSubType)

Determines whether the specified objects are equal.

public bool Equals(ItemSubType x, ItemSubType y)

Parameters

x ItemSubType

The first object of type T to compare.

y ItemSubType

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

GetHashCode(ItemSubType)

Returns a hash code for the specified object.

public int GetHashCode(ItemSubType obj)

Parameters

obj ItemSubType

The 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 and obj is null.