Table of Contents

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

ChatCommandComparer

Methods

Equals(IChatCommand, IChatCommand)

Determines whether the specified objects are equal.

public bool Equals(IChatCommand x, IChatCommand y)

Parameters

x IChatCommand

The first object of type T to compare.

y IChatCommand

The second object of type T to compare.

Returns

bool

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

GetHashCode(IChatCommand)

Returns a hash code for the specified object.

public int GetHashCode(IChatCommand obj)

Parameters

obj IChatCommand

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.