Class DiscordGuildDirectoryChannel
Represents a discord guild directory channel.
Inherited Members
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordGuildDirectoryChannel : DiscordChannel, IEquatable<DiscordChannel>, IEquatable<DiscordGuildDirectoryChannel>
Properties
| Improve this Doc View SourceEntries
Declaration
public IReadOnlyList<DiscordGuildDirectoryEntry> Entries { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordGuildDirectoryEntry> |
Methods
| Improve this Doc View SourceEquals(DiscordGuildDirectoryChannel)
Checks whether this DiscordGuildDirectoryChannel is equal to another DiscordGuildDirectoryChannel.
Declaration
public bool Equals(DiscordGuildDirectoryChannel e)
Parameters
Type | Name | Description |
---|---|---|
DiscordGuildDirectoryChannel | e | DiscordGuildDirectoryChannel to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the DiscordGuildDirectoryChannel is equal to this DiscordGuildDirectoryChannel. |
Equals(Object)
Checks whether this DiscordGuildDirectoryChannel is equal to another object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the object is equal to this DiscordGuildDirectoryChannel. |
Overrides
| Improve this Doc View SourceGetHashCode()
Gets the hash code for this DiscordGuildDirectoryChannel.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this DiscordGuildDirectoryChannel. |
Overrides
Operators
| Improve this Doc View SourceEquality(DiscordGuildDirectoryChannel, DiscordGuildDirectoryChannel)
Gets whether the two DiscordGuildDirectoryChannel objects are equal.
Declaration
public static bool operator ==(DiscordGuildDirectoryChannel e1, DiscordGuildDirectoryChannel e2)
Parameters
Type | Name | Description |
---|---|---|
DiscordGuildDirectoryChannel | e1 | First channel to compare. |
DiscordGuildDirectoryChannel | e2 | Second channel to compare. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the two channels are equal. |
Inequality(DiscordGuildDirectoryChannel, DiscordGuildDirectoryChannel)
Gets whether the two DiscordGuildDirectoryChannel objects are not equal.
Declaration
public static bool operator !=(DiscordGuildDirectoryChannel e1, DiscordGuildDirectoryChannel e2)
Parameters
Type | Name | Description |
---|---|---|
DiscordGuildDirectoryChannel | e1 | First channel to compare. |
DiscordGuildDirectoryChannel | e2 | Second channel to compare. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the two channels are not equal. |