rename XFactory.Regs to XFactory.Generators.

This commit is contained in:
2026-05-23 21:23:06 +08:00
parent 8b285cc863
commit 058003f395
155 changed files with 16416 additions and 1261 deletions
@@ -183,8 +183,8 @@ For irregular cases that don't fit the pattern, use a custom string.
<a id="Hi_NcParsers_NcDiagnostic__ctor_" data-uid="Hi.NcParsers.NcDiagnostic.#ctor*"></a>
<h3 id="Hi_NcParsers_NcDiagnostic__ctor_Hi_NcParsers_NcDiagnosticSeverity_Hi_NcParsers_NcDiagnosticCategory_System_String_System_String_System_Object_Hi_NcParsers_Sentence_" data-uid="Hi.NcParsers.NcDiagnostic.#ctor(Hi.NcParsers.NcDiagnosticSeverity,Hi.NcParsers.NcDiagnosticCategory,System.String,System.String,System.Object,Hi.NcParsers.Sentence)">
NcDiagnostic(NcDiagnosticSeverity, NcDiagnosticCategory, string, string, object, Sentence)
<h3 id="Hi_NcParsers_NcDiagnostic__ctor_Hi_NcParsers_NcDiagnosticSeverity_Hi_NcParsers_NcDiagnosticCategory_System_String_System_String_System_Object_Hi_NcParsers_ISentenceCarrier_" data-uid="Hi.NcParsers.NcDiagnostic.#ctor(Hi.NcParsers.NcDiagnosticSeverity,Hi.NcParsers.NcDiagnosticCategory,System.String,System.String,System.Object,Hi.NcParsers.ISentenceCarrier)">
NcDiagnostic(NcDiagnosticSeverity, NcDiagnosticCategory, string, string, object, ISentenceCarrier)
</h3>
@@ -193,7 +193,7 @@ For irregular cases that don't fit the pattern, use a custom string.
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public NcDiagnostic(NcDiagnosticSeverity severity, NcDiagnosticCategory category, string id, string text, object detail = null, Sentence sentence = null)</code></pre>
<pre><code class="lang-csharp hljs">public NcDiagnostic(NcDiagnosticSeverity severity, NcDiagnosticCategory category, string id, string text, object detail = null, ISentenceCarrier sentenceCarrier = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -213,8 +213,8 @@ For irregular cases that don't fit the pattern, use a custom string.
<dt><code>detail</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
<dd><p>Optional detail data or exception. Null if not applicable.</p>
</dd>
<dt><code>sentence</code> <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a></dt>
<dd><p>The NC source block that triggered this diagnostic; null for pipeline-level messages.</p>
<dt><code>sentenceCarrier</code> <a class="xref" href="Hi.NcParsers.ISentenceCarrier.html">ISentenceCarrier</a></dt>
<dd><p>Carrier for the NC source block that triggered this diagnostic; null for pipeline-level messages.</p>
</dd>
</dl>
@@ -330,20 +330,23 @@ Normally <code>{Primary}-{Secondary}&ndash;{Serial:000}</code>.</p>
<a id="Hi_NcParsers_NcDiagnostic_Sentence_" data-uid="Hi.NcParsers.NcDiagnostic.Sentence*"></a>
<a id="Hi_NcParsers_NcDiagnostic_SentenceCarrier_" data-uid="Hi.NcParsers.NcDiagnostic.SentenceCarrier*"></a>
<h3 id="Hi_NcParsers_NcDiagnostic_Sentence" data-uid="Hi.NcParsers.NcDiagnostic.Sentence">
Sentence
<h3 id="Hi_NcParsers_NcDiagnostic_SentenceCarrier" data-uid="Hi.NcParsers.NcDiagnostic.SentenceCarrier">
SentenceCarrier
</h3>
<div class="markdown level1 summary"><p>The NC source block that triggered this diagnostic.
Null for pipeline-level messages (e.g., lifecycle start/done).</p>
<div class="markdown level1 summary"><p>Carrier of the NC source block that triggered this diagnostic, exposing
both the source <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a> (via
<a class="xref" href="Hi.NcParsers.IGetSentence.html#Hi_NcParsers_IGetSentence_GetSentence">GetSentence()</a>) and the execution-order
<a class="xref" href="Hi.NcParsers.ISentenceIndexed.html#Hi_NcParsers_ISentenceIndexed_SentenceIndex">SentenceIndex</a>. Null for pipeline-level
messages (e.g., lifecycle start/done) that have no source block.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Sentence Sentence { get; }</code></pre>
<pre><code class="lang-csharp hljs">public ISentenceCarrier SentenceCarrier { get; }</code></pre>
</div>
@@ -352,7 +355,7 @@ Null for pipeline-level messages (e.g., lifecycle start/done).</p>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a></dt>
<dt><a class="xref" href="Hi.NcParsers.ISentenceCarrier.html">ISentenceCarrier</a></dt>
<dd></dd>
</dl>