Class ChatCommandComparer
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class ChatCommandComparer : IEqualityComparer<IChatCommand>
- Inheritance
-
ChatCommandComparer
- Implements
- Inherited Members
- Extension Methods
Properties
Comparer
public static ChatCommandComparer Comparer { get; }
Property Value
Methods
Equals(IChatCommand, IChatCommand)
Determines whether the specified objects are equal.
public bool Equals(IChatCommand x, IChatCommand y)
Parameters
x
IChatCommandThe first object of type
T
to compare.y
IChatCommandThe second object of type
T
to compare.
Returns
GetHashCode(IChatCommand)
Returns a hash code for the specified object.
public int GetHashCode(IChatCommand obj)
Parameters
obj
IChatCommandThe 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 andobj
is null.