Class IngredientElementEqualityComparer
Inheritance
System.Object
IngredientElementEqualityComparer
Implements
System.Collections.Generic.IEqualityComparer<IngredientElement>
Namespace: Eco.Gameplay.Items.Recipes
Assembly: Eco.Gameplay.dll
Syntax
public class IngredientElementEqualityComparer : Object, IEqualityComparer<IngredientElement>
Constructors
IngredientElementEqualityComparer()
Declaration
public IngredientElementEqualityComparer()
Methods
Equals(IngredientElement, IngredientElement)
Declaration
public bool Equals(IngredientElement x, IngredientElement y)
Parameters
Type | Name | Description |
---|---|---|
IngredientElement | x | |
IngredientElement | y |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode(IngredientElement)
Declaration
public int GetHashCode(IngredientElement obj)
Parameters
Type | Name | Description |
---|---|---|
IngredientElement | obj |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IEqualityComparer<>