Table of Contents

Class StatTypeComparer

Namespace
Nekoyume.Model.Stat
Assembly
Lib9c.dll
[Serializable]
public class StatTypeComparer : IEqualityComparer<StatType>
Inheritance
StatTypeComparer
Implements
Inherited Members

Fields

Instance

public static readonly StatTypeComparer Instance

Field Value

StatTypeComparer

Methods

Equals(StatType, StatType)

Determines whether the specified objects are equal.

public bool Equals(StatType x, StatType y)

Parameters

x StatType

The first object of type T to compare.

y StatType

The second object of type T to compare.

Returns

bool

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

GetHashCode(StatType)

Returns a hash code for the specified object.

public int GetHashCode(StatType obj)

Parameters

obj StatType

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.