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