-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added some miscellaneous missing xmldocs #8
Changes from 15 commits
8dc6f2e
6c3f85d
d64f670
677e715
14b645a
e8b3b49
c572a98
981e2eb
9fcea88
a46910c
3d8e082
9185853
9bbf580
c8bc452
1d20132
d9e1864
e41136c
25c208c
cee1522
6e80cef
3ad948d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
using System; | ||
using System; | ||
|
||
namespace Discord | ||
{ | ||
public interface IGuildIntegration | ||
{ | ||
/// <summary> Gets the integration ID. </summary> | ||
/// <returns> The unique identifier value of this integration. </returns> | ||
ulong Id { get; } | ||
/// <summary> Gets the integration name. </summary> | ||
/// <returns> A string containing the name of this integration. </returns> | ||
string Name { get; } | ||
/// <summary> Gets the integration type (twitch, youtube, etc). </summary> | ||
/// <returns> A string containing the name of the type of integration. </returns> | ||
string Type { get; } | ||
/// <summary> Gets if this integration is enabled or not. </summary> | ||
/// <summary> A value indicating if this integration is enabled. </returns> | ||
bool IsEnabled { get; } | ||
/// <summary> Gets if this integration is syncing or not. </summary> | ||
/// <returns> A value indicating if this integration is syncing. </returns> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If possible, perhaps add a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This I wasn't too sure about (I'm not a partnered Twitch or Youtube streamer), but I was able to ask in the |
||
bool IsSyncing { get; } | ||
/// <summary> Gets the ID that this integration uses for "subscribers". </summary> | ||
ulong ExpireBehavior { get; } | ||
/// <summary> Gets the grace period before expiring subscribers. </summary> | ||
ulong ExpireGracePeriod { get; } | ||
/// <summary> Gets when this integration was last synced. </summary> | ||
/// <returns> A <see cref="DateTimeOffset"/> containing a date and time of day when the integration was last synced. </returns> | ||
DateTimeOffset SyncedAt { get; } | ||
/// <summary> | ||
/// Gets integration account information. See <see cref="IntegrationAccount"/>. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
/// </summary> | ||
IntegrationAccount Account { get; } | ||
|
||
IGuild Guild { get; } | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
|
||
namespace Discord | ||
{ | ||
public interface IConnection | ||
{ | ||
/// <summary> Gets the ID of the connection account. </summary> | ||
/// <returns> The unique idenitifer of this connection. </returns> | ||
string Id { get; } | ||
/// <summary> Gets the service of the connection (twitch, youtube). </summary> | ||
/// <returns> A string containing the name of this type of connection. </returns> | ||
string Type { get; } | ||
/// <summary> Gets the username of the connection account. </summary> | ||
/// <returns> A string containing the name of this connection. </returns> | ||
string Name { get; } | ||
/// <summary> Gets whether the connection is revoked. </summary> | ||
/// <returns> A value which if true indicates that this connection has been revoked, otherwise false. </returns> | ||
bool IsRevoked { get; } | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the line-break as is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops, bad habit of mine. |
||
/// <summary> Gets a <see cref="IReadOnlyCollection{T}"/> of integration IDs. </summary> | ||
/// <returns> An <see cref="IReadOnlyCollection{T}"/> containing the unique identifier values of integrations. </returns> | ||
IReadOnlyCollection<ulong> IntegrationIds { get; } | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For
ulong
identifiers, the preferred format isAn <see cref="ulong"/> representing the snowflake identifier of the...