Method Equals
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Equals(DiscordApplicationCommand)
Checks whether this DiscordApplicationCommand object is equal to another object.
public bool Equals(DiscordApplicationCommand other)
Parameters
other
DiscordApplicationCommandThe command to compare to.
Returns
- bool
Whether the command is equal to this DiscordApplicationCommand.
Equals(object)
Determines if a object is equal to the current DiscordApplicationCommand.
public override bool Equals(object other)
Parameters
other
objectThe object to compare to.
Returns
- bool
Whether the two DiscordApplicationCommand objects are not equal.