Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vnaskos-sonar committed Sep 25, 2024
1 parent 290d104 commit 734aa31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ConnectedMode/ConnectionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ public enum ConnectionServerType
SonarCloud
}

/// <summary>
/// Model containing connection information, intended to be used by UI components
/// </summary>
/// <param name="Id">The organization key for SonarCloud or the server uri for SonarQube</param>
/// <param name="ServerType">The type of server (SonarCloud, SonarQube)</param>
public record ConnectionInfo(string Id, ConnectionServerType ServerType)
{
public static ConnectionInfo From(ServerConnection serverConnection)
Expand Down

0 comments on commit 734aa31

Please sign in to comment.