Method Equals
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Equals(DiscordRole)
Checks whether this DiscordRole is equal to another DiscordRole.
public bool Equals(DiscordRole e)
Parameters
e
DiscordRoleDiscordRole to compare to.
Returns
- bool
Whether the DiscordRole is equal to this DiscordRole.
Equals(object)
Checks whether this DiscordRole is equal to another object.
public override bool Equals(object obj)
Parameters
obj
objectObject to compare to.
Returns
- bool
Whether the object is equal to this DiscordRole.