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
xIChatCommandThe first object of type
Tto compare.yIChatCommandThe second object of type
Tto compare.
Returns
GetHashCode(IChatCommand)
Returns a hash code for the specified object.
public int GetHashCode(IChatCommand obj)
Parameters
objIChatCommandThe object for which a hash code is to be returned.
Returns
- int
A hash code for the specified object.
Exceptions
- ArgumentNullException
The type of
objis a reference type andobjis null.