Method Equals
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Equals(DiscordVoiceRegion?, DiscordVoiceRegion?)
Gets whether two DiscordVoiceRegions are equal.
public static bool Equals(DiscordVoiceRegion? left, DiscordVoiceRegion? right)
Parameters
left
DiscordVoiceRegionThe region to compare with.
right
DiscordVoiceRegionThe region to compare against.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.