fix SoftNcRunner GM code normalization.
This commit is contained in:
@@ -187,8 +187,44 @@ Only the most recent action is executed and previous pending actions are discard
|
||||
|
||||
<a id="Hi_Common_LooseRunner__ctor_" data-uid="Hi.Common.LooseRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Common_LooseRunner__ctor_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Common.LooseRunner.#ctor(System.Nullable{System.Threading.CancellationToken})">
|
||||
LooseRunner(CancellationToken?)
|
||||
<h3 id="Hi_Common_LooseRunner__ctor_Microsoft_Extensions_Logging_ILogger_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Common.LooseRunner.#ctor(Microsoft.Extensions.Logging.ILogger,System.Nullable{System.Threading.CancellationToken})">
|
||||
LooseRunner(ILogger, CancellationToken?)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.Common.LooseRunner.html">LooseRunner</a> class with an <a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger">ILogger</a> for exception reporting.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public LooseRunner(ILogger logger, CancellationToken? cancellationToken = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>logger</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger">ILogger</a></dt>
|
||||
<dd><p>The logger used to report exceptions.</p>
|
||||
</dd>
|
||||
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
|
||||
<dd><p>Optional cancellation token to control the lifetime of the runner.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Common_LooseRunner__ctor_" data-uid="Hi.Common.LooseRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Common_LooseRunner__ctor_System_Action_System_Exception__System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Common.LooseRunner.#ctor(System.Action{System.Exception},System.Nullable{System.Threading.CancellationToken})">
|
||||
LooseRunner(Action<Exception>, CancellationToken?)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -197,11 +233,14 @@ Only the most recent action is executed and previous pending actions are discard
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public LooseRunner(CancellationToken? cancellationToken = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public LooseRunner(Action<Exception> exceptionAction = null, CancellationToken? cancellationToken = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>exceptionAction</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>></dt>
|
||||
<dd><p>Optional action invoked when an exception occurs. If null, exceptions are silently ignored.</p>
|
||||
</dd>
|
||||
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
|
||||
<dd><p>Optional cancellation token to control the lifetime of the runner. If not provided, a new token will be created.</p>
|
||||
</dd>
|
||||
|
||||
Reference in New Issue
Block a user