File tree Expand file tree Collapse file tree
src/Soenneker.GitHub.ClientUtil Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,5 +10,10 @@ namespace Soenneker.GitHub.ClientUtil.Abstract;
1010/// </summary>
1111public interface IGitHubOpenApiClientUtil : IDisposable , IAsyncDisposable
1212{
13+ /// <summary>
14+ /// Gets the value.
15+ /// </summary>
16+ /// <param name="cancellationToken">The cancellation token.</param>
17+ /// <returns>A task containing the result of the operation.</returns>
1318 ValueTask < GitHubOpenApiClient > Get ( CancellationToken cancellationToken = default ) ;
1419}
Original file line number Diff line number Diff line change @@ -43,11 +43,18 @@ public ValueTask<GitHubOpenApiClient> Get(CancellationToken cancellationToken =
4343 return _client . Get ( cancellationToken ) ;
4444 }
4545
46+ /// <summary>
47+ /// Releases resources used by the current instance.
48+ /// </summary>
4649 public void Dispose ( )
4750 {
4851 _client . Dispose ( ) ;
4952 }
5053
54+ /// <summary>
55+ /// Asynchronously releases resources used by the current instance.
56+ /// </summary>
57+ /// <returns>A task that represents the asynchronous operation.</returns>
5158 public ValueTask DisposeAsync ( )
5259 {
5360 return _client . DisposeAsync ( ) ;
You can’t perform that action at this time.
0 commit comments