Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelle committed Jun 26, 2024
1 parent ff285a8 commit 70d4974
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 6 deletions.
47 changes: 41 additions & 6 deletions api/Refitter.Core.DependencyInjectionSettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h4 class="section">Property Value</h4>

<h3 id="Refitter_Core_DependencyInjectionSettings_ExtensionMethodName" data-uid="Refitter.Core.DependencyInjectionSettings.ExtensionMethodName">
ExtensionMethodName
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L51"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L67"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Name of IServiceCollection Extension Method. Default is ConfigureRefitClients</p>
Expand Down Expand Up @@ -218,7 +218,7 @@ <h4 class="section">Property Value</h4>

<h3 id="Refitter_Core_DependencyInjectionSettings_FirstBackoffRetryInSeconds" data-uid="Refitter.Core.DependencyInjectionSettings.FirstBackoffRetryInSeconds">
FirstBackoffRetryInSeconds
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L46"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L62"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>The median delay to target before the first retry in seconds. Default is 1 second</p>
Expand Down Expand Up @@ -283,7 +283,7 @@ <h4 class="section">Property Value</h4>

<h3 id="Refitter_Core_DependencyInjectionSettings_MaxRetryCount" data-uid="Refitter.Core.DependencyInjectionSettings.MaxRetryCount">
MaxRetryCount
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L41"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L57"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Default max retry count for transient error handling. Default is 6.</p>
Expand Down Expand Up @@ -311,11 +311,45 @@ <h4 class="section">Property Value</h4>



<a id="Refitter_Core_DependencyInjectionSettings_PollyMaxRetryCount_" data-uid="Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount*"></a>

<h3 id="Refitter_Core_DependencyInjectionSettings_PollyMaxRetryCount" data-uid="Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount">
PollyMaxRetryCount
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L47"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Default max retry count for transient error handling. Default is 6.
This is deprecated. Use MaxRetryCount instead.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Obsolete(&quot;Use MaxRetryCount instead&quot;)]
public int PollyMaxRetryCount { get; set; }</code></pre>
</div>





<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>








<a id="Refitter_Core_DependencyInjectionSettings_TransientErrorHandler_" data-uid="Refitter.Core.DependencyInjectionSettings.TransientErrorHandler*"></a>

<h3 id="Refitter_Core_DependencyInjectionSettings_TransientErrorHandler" data-uid="Refitter.Core.DependencyInjectionSettings.TransientErrorHandler">
TransientErrorHandler
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L35"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L40"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Library to use for transient error handling
Expand Down Expand Up @@ -354,10 +388,11 @@ <h4 class="section">Property Value</h4>

<h3 id="Refitter_Core_DependencyInjectionSettings_UsePolly" data-uid="Refitter.Core.DependencyInjectionSettings.UsePolly">
UsePolly
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L25"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/christianhelle/refitter/blob/main/src/Refitter.Core/Settings/DependencyInjectionSettings.cs/#L26"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Set this to true to use Polly for transient fault handling.</p>
<div class="markdown level1 summary"><p>Set this to true to use Polly for transient fault handling.
This is deprecated. Use TransientErrorHandler instead.</p>
</div>
<div class="markdown level1 conceptual"></div>

Expand Down
13 changes: 13 additions & 0 deletions xrefmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,19 @@ references:
isSpec: "True"
fullName: Refitter.Core.DependencyInjectionSettings.MaxRetryCount
nameWithType: DependencyInjectionSettings.MaxRetryCount
- uid: Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount
name: PollyMaxRetryCount
href: api/Refitter.Core.DependencyInjectionSettings.html#Refitter_Core_DependencyInjectionSettings_PollyMaxRetryCount
commentId: P:Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount
fullName: Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount
nameWithType: DependencyInjectionSettings.PollyMaxRetryCount
- uid: Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount*
name: PollyMaxRetryCount
href: api/Refitter.Core.DependencyInjectionSettings.html#Refitter_Core_DependencyInjectionSettings_PollyMaxRetryCount_
commentId: Overload:Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount
isSpec: "True"
fullName: Refitter.Core.DependencyInjectionSettings.PollyMaxRetryCount
nameWithType: DependencyInjectionSettings.PollyMaxRetryCount
- uid: Refitter.Core.DependencyInjectionSettings.TransientErrorHandler
name: TransientErrorHandler
href: api/Refitter.Core.DependencyInjectionSettings.html#Refitter_Core_DependencyInjectionSettings_TransientErrorHandler
Expand Down

0 comments on commit 70d4974

Please sign in to comment.