update XML IO pattern.

This commit is contained in:
2026-05-24 14:06:51 +08:00
parent 058003f395
commit d7836db45f
314 changed files with 13376 additions and 573 deletions
@@ -1288,6 +1288,42 @@ Host class for HiNC functionality that provides project management, path resolut
<a id="Hi_HiNcKits_HiNcHost_Reg_" data-uid="Hi.HiNcKits.HiNcHost.Reg*"></a>
<h3 id="Hi_HiNcKits_HiNcHost_Reg_Hi_Common_XmlUtils_XFactory_" data-uid="Hi.HiNcKits.HiNcHost.Reg(Hi.Common.XmlUtils.XFactory)">
Reg(XFactory)
</h3>
<div class="markdown level1 summary"><p>Bootstraps XML-factory registration for the HiNC host. Equivalent to
<a class="xref" href="Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_Reg_Hi_Common_XmlUtils_XFactory_">Reg(XFactory)</a>; entry
points that construct <a class="xref" href="Hi.HiNcKits.HiNcHost.html">HiNcHost</a> directly (without going
through <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a>) should call
this once at startup. Idempotent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Reg(XFactory factory = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>factory</code> <a class="xref" href="Hi.Common.XmlUtils.XFactory.html">XFactory</a></dt>
<dd></dd>
</dl>
<a id="Hi_HiNcKits_HiNcHost_ReloadProject_" data-uid="Hi.HiNcKits.HiNcHost.ReloadProject*"></a>
<h3 id="Hi_HiNcKits_HiNcHost_ReloadProject" data-uid="Hi.HiNcKits.HiNcHost.ReloadProject">