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
@@ -600,6 +600,40 @@ Since the folder can be moving with the configuration file.</p>
<a id="Hi_SessionCommands_ScriptCommand_Reg_" data-uid="Hi.SessionCommands.ScriptCommand.Reg*"></a>
<h3 id="Hi_SessionCommands_ScriptCommand_Reg_Hi_Common_XmlUtils_XFactory_" data-uid="Hi.SessionCommands.ScriptCommand.Reg(Hi.Common.XmlUtils.XFactory)">
Reg(XFactory)
</h3>
<div class="markdown level1 summary"><p>Registers this type's deserializer (and its legacy alias) with the
given <a class="xref" href="Hi.Common.XmlUtils.XFactory.html">XFactory</a> (or <a class="xref" href="Hi.Common.XmlUtils.XFactory.html#Hi_Common_XmlUtils_XFactory_Default">Default</a> when
<code class="paramref">factory</code> is <code>null</code>). 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_SessionCommands_ScriptCommand_Run_" data-uid="Hi.SessionCommands.ScriptCommand.Run*"></a>
<h3 id="Hi_SessionCommands_ScriptCommand_Run_Hi_MachiningProcs_SessionShell_" data-uid="Hi.SessionCommands.ScriptCommand.Run(Hi.MachiningProcs.SessionShell)">