Class DiscordScheduledEventUser
The discord scheduled event user.
Inheritance
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordScheduledEventUser : IEquatable<DiscordScheduledEventUser>
Properties
| Improve this Doc View SourceScheduledEvent
Gets the scheduled event.
Declaration
public DiscordScheduledEvent ScheduledEvent { get; }
Property Value
Type | Description |
---|---|
DiscordScheduledEvent |
User
Gets the user.
Declaration
public DiscordUser User { get; }
Property Value
Type | Description |
---|---|
DiscordUser |
Methods
| Improve this Doc View SourceEquals(DiscordScheduledEventUser)
Checks whether this DiscordScheduledEventUser is equal to another DiscordScheduledEventUser.
Declaration
public bool Equals(DiscordScheduledEventUser e)
Parameters
Type | Name | Description |
---|---|---|
DiscordScheduledEventUser | e | DiscordScheduledEventUser to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the DiscordScheduledEventUser is equal to this DiscordScheduledEventUser. |
Equals(Object)
Checks whether this DiscordScheduledEventUser 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 DiscordScheduledEventUser. |
Overrides
GetHashCode()
Gets the hash code for this DiscordScheduledEventUser.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this DiscordScheduledEventUser. |
Overrides
Operators
| Improve this Doc View SourceEquality(DiscordScheduledEventUser, DiscordScheduledEventUser)
Gets whether the two DiscordScheduledEventUser objects are equal.
Declaration
public static bool operator ==(DiscordScheduledEventUser e1, DiscordScheduledEventUser e2)
Parameters
Type | Name | Description |
---|---|---|
DiscordScheduledEventUser | e1 | First event to compare. |
DiscordScheduledEventUser | e2 | Second event to compare. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the two events are equal. |
Inequality(DiscordScheduledEventUser, DiscordScheduledEventUser)
Gets whether the two DiscordScheduledEventUser objects are not equal.
Declaration
public static bool operator !=(DiscordScheduledEventUser e1, DiscordScheduledEventUser e2)
Parameters
Type | Name | Description |
---|---|---|
DiscordScheduledEventUser | e1 | First event to compare. |
DiscordScheduledEventUser | e2 | Second event to compare. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the two events are not equal. |