Browse Source

Rewrote the rest of the returns tags

pull/1161/head
Chris Johnston 7 years ago
parent
commit
1d20132104
3 changed files with 8 additions and 8 deletions
  1. +1
    -1
      src/Discord.Net.Core/Entities/Guilds/IGuildIntegration.cs
  2. +2
    -2
      src/Discord.Net.Core/Entities/Guilds/IntegrationAccount.cs
  3. +5
    -5
      src/Discord.Net.Core/Entities/Users/IConnection.cs

+ 1
- 1
src/Discord.Net.Core/Entities/Guilds/IGuildIntegration.cs View File

@@ -5,7 +5,7 @@ namespace Discord
public interface IGuildIntegration
{
/// <summary> Gets the integration ID. </summary>
/// <returns> A unique identifier value of this integration. </returns>
/// <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>


+ 2
- 2
src/Discord.Net.Core/Entities/Guilds/IntegrationAccount.cs View File

@@ -6,10 +6,10 @@ namespace Discord
public struct IntegrationAccount
{
/// <summary> Gets the ID of the account. </summary>
/// <returns> Gets the ID of the account. </returns>
/// <returns> The unique identifier of this integration account. </returns>
public string Id { get; }
/// <summary> Gets the name of the account. </summary>
/// <returns> Gets the name of the account. </returns>
/// <returns> A string containing the name of this integration account. </returns>
public string Name { get; private set; }

public override string ToString() => Name;


+ 5
- 5
src/Discord.Net.Core/Entities/Users/IConnection.cs View File

@@ -5,19 +5,19 @@ namespace Discord
public interface IConnection
{
/// <summary> Gets the ID of the connection account. </summary>
/// <returns> Gets the ID of the connection account. </returns>
/// <returns> The unique idenitifer of this connection. </returns>
string Id { get; }
/// <summary> Gets the service of the connection (twitch, youtube). </summary>
/// <returns> Gets the service of the connection (twitch, youtube). </returns>
/// <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> Gets the username of the connection account. </returns>
/// <returns> A string containing the name of this connection. </returns>
string Name { get; }
/// <summary> Gets whether the connection is revoked. </summary>
/// <returns> Gets whether the connection is revoked. </returns>
/// <returns> A value which if true indicates that this connection has been revoked, otherwise false. </returns>
bool IsRevoked { get; }
/// <summary> Gets a <see cref="IReadOnlyCollection{T}"/> of integration IDs. </summary>
/// <returns> Gets a <see cref="IReadOnlyCollection{T}"/> of integration IDs. </returns>
/// <returns> An <see cref="IReadOnlyCollection{T}"/> containing the unique identifier values of integrations. </returns>
IReadOnlyCollection<ulong> IntegrationIds { get; }
}
}

Loading…
Cancel
Save