Table of Contents

Class ItemTypeComparer

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

Fields

Instance

public static readonly ItemTypeComparer Instance

Field Value

ItemTypeComparer

Methods

Equals(ItemType, ItemType)

Determines whether the specified objects are equal.

public bool Equals(ItemType x, ItemType y)

Parameters

x ItemType

The first object of type T to compare.

y ItemType

The second object of type T to compare.

Returns

bool

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

GetHashCode(ItemType)

Returns a hash code for the specified object.

public int GetHashCode(ItemType obj)

Parameters

obj ItemType

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.