Method Equals
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Equals(DiscordApplicationCommandPermission)
Checks whether this DiscordApplicationCommandPermission object is equal to another object.
public bool Equals(DiscordApplicationCommandPermission other)
Parameters
other
DiscordApplicationCommandPermissionThe command to compare to.
Returns
- bool
Whether the command is equal to this DiscordApplicationCommandPermission.
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 DiscordApplicationCommandPermission objects are not equal.