Skip to content

Commit

Permalink
docs: enhancing intellisense to provide parameter limits in the descr…
Browse files Browse the repository at this point in the history
…iption… (#1133)

Co-authored-by: jmounts <[email protected]>
  • Loading branch information
jmounts234 and jmounts authored Sep 22, 2021
1 parent f79fd10 commit 33bcb5d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/SendGrid/Reliability/ReliabilitySettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ public ReliabilitySettings()
/// <summary>
/// Initializes a new instance of the <see cref="ReliabilitySettings"/> class.
/// </summary>
/// <param name="maximumNumberOfRetries">The maximum number of retries to execute against when sending an HTTP Request before throwing an exception.</param>
/// <param name="minimumBackoff">The minimum amount of time to wait between between HTTP retries.</param>
/// <param name="maximumBackOff">the maximum amount of time to wait between between HTTP retries.</param>
/// <param name="deltaBackOff">the value that will be used to calculate a random delta in the exponential delay between retries.</param>
/// <param name="maximumNumberOfRetries">The maximum number of retries to execute against when sending an HTTP Request before throwing an exception. Max value of 5. Default value of 0.</param>
/// <param name="minimumBackoff">The minimum amount of time to wait between between HTTP retries. Default value of 0 seconds.</param>
/// <param name="maximumBackOff" max="30 seconds">the maximum amount of time to wait between between HTTP retries. Max value of 30 seconds. Default value of 0 seconds.</param>
/// <param name="deltaBackOff">the value that will be used to calculate a random delta in the exponential delay between retries. Default value of 0 seconds.</param>
public ReliabilitySettings(int maximumNumberOfRetries, TimeSpan minimumBackoff, TimeSpan maximumBackOff, TimeSpan deltaBackOff)
{
if (maximumNumberOfRetries < 0)
Expand Down Expand Up @@ -90,4 +90,4 @@ public ReliabilitySettings(int maximumNumberOfRetries, TimeSpan minimumBackoff,
/// </summary>
public TimeSpan DeltaBackOff { get; }
}
}
}

0 comments on commit 33bcb5d

Please sign in to comment.