From 734aa31a1a2a26872d73cb5c67bc25f2e439f1ab Mon Sep 17 00:00:00 2001 From: Vasileios Naskos Date: Wed, 25 Sep 2024 08:32:50 +0200 Subject: [PATCH] Add documentation --- src/ConnectedMode/ConnectionInfo.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ConnectedMode/ConnectionInfo.cs b/src/ConnectedMode/ConnectionInfo.cs index a6df96a980..2e4bca6628 100644 --- a/src/ConnectedMode/ConnectionInfo.cs +++ b/src/ConnectedMode/ConnectionInfo.cs @@ -29,6 +29,11 @@ public enum ConnectionServerType SonarCloud } +/// +/// Model containing connection information, intended to be used by UI components +/// +/// The organization key for SonarCloud or the server uri for SonarQube +/// The type of server (SonarCloud, SonarQube) public record ConnectionInfo(string Id, ConnectionServerType ServerType) { public static ConnectionInfo From(ServerConnection serverConnection)