Skip to content

Commit 31641ae

Browse files
Update src/GregClient/GregClient.cs
Co-authored-by: Copilot <[email protected]>
1 parent ec8057e commit 31641ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/GregClient/GregClient.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ public GregClient(IAuthProvider provider, string packageManagerUrl)
3232
_client = new RestClient(packageManagerUrl);
3333
}
3434

35+
/// <summary>
36+
/// Initializes a new instance of the <see cref="GregClient"/> class with the specified authentication provider,
37+
/// package manager URL, and optional HTTP client.
38+
/// </summary>
39+
/// <param name="provider">The authentication provider used for managing authentication tokens.</param>
40+
/// <param name="packageManagerUrl">The base URL of the package manager service.</param>
41+
/// <param name="httpClient">An optional HTTP client to use for making requests. If null, a default client is created.</param>
3542
public GregClient(IAuthProvider provider, string packageManagerUrl, HttpClient httpClient)
3643
{
3744
// https://stackoverflow.com/questions/2819934/detect-windows-version-in-net

0 commit comments

Comments
 (0)