Table of Contents

Class ElementalTypeComparer

Namespace
Nekoyume.Model.Elemental
Assembly
Lib9c.dll
public class ElementalTypeComparer : IEqualityComparer<ElementalType>
Inheritance
ElementalTypeComparer
Implements
Inherited Members

Fields

Instance

public static readonly ElementalTypeComparer Instance

Field Value

ElementalTypeComparer

Methods

Equals(ElementalType, ElementalType)

Determines whether the specified objects are equal.

public bool Equals(ElementalType x, ElementalType y)

Parameters

x ElementalType

The first object of type T to compare.

y ElementalType

The second object of type T to compare.

Returns

bool

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

GetHashCode(ElementalType)

Returns a hash code for the specified object.

public int GetHashCode(ElementalType obj)

Parameters

obj ElementalType

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.