Table of Contents

Method Equals

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Equals(object)

Checks whether this DiscordRole is equal to another object.

public override bool Equals(object obj)

Parameters

obj object

Object to compare to.

Returns

bool

Whether the object is equal to this DiscordRole.

Equals(DiscordRole)

Checks whether this DiscordRole is equal to another DiscordRole.

public bool Equals(DiscordRole e)

Parameters

e DiscordRole

DiscordRole to compare to.

Returns

bool

Whether the DiscordRole is equal to this DiscordRole.