Skip to content

Commit

Permalink
Add missing API docs to RateLimiting (#87627)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennanConroy authored Jun 15, 2023
1 parent 35996db commit 73e4061
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ private void Release(int releaseCount)
}
}

/// <inheritdoc/>
protected override void Dispose(bool disposing)
{
if (!disposing)
Expand All @@ -320,6 +321,7 @@ protected override void Dispose(bool disposing)
}
}

/// <inheritdoc/>
protected override ValueTask DisposeAsyncCore()
{
Dispose(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ private void ReplenishInternal(long nowTicks)
}
}

/// <inheritdoc />
protected override void Dispose(bool disposing)
{
if (!disposing)
Expand All @@ -391,6 +392,7 @@ protected override void Dispose(bool disposing)
}
}

/// <inheritdoc />
protected override ValueTask DisposeAsyncCore()
{
Dispose(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

namespace System.Threading.RateLimiting
{
/// <summary>
/// Abstraction that specifies that the <see cref="RateLimiter"/> implementation is capable of replenishing tokens.
/// </summary>
public abstract class ReplenishingRateLimiter : RateLimiter
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ private void ReplenishInternal(long nowTicks)
}
}

/// <inheritdoc />
protected override void Dispose(bool disposing)
{
if (!disposing)
Expand All @@ -404,6 +405,7 @@ protected override void Dispose(bool disposing)
}
}

/// <inheritdoc />
protected override ValueTask DisposeAsyncCore()
{
Dispose(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ private void ReplenishInternal(long nowTicks)
}
}

/// <inheritdoc />
protected override void Dispose(bool disposing)
{
if (!disposing)
Expand All @@ -406,6 +407,7 @@ protected override void Dispose(bool disposing)
}
}

/// <inheritdoc />
protected override ValueTask DisposeAsyncCore()
{
Dispose(true);
Expand Down

0 comments on commit 73e4061

Please sign in to comment.