This commit is contained in:
2025-07-25 16:27:29 +08:00
parent 38b27cd481
commit b5cad3c171
1114 changed files with 68009 additions and 23981 deletions
@@ -349,8 +349,8 @@ otherwise, returns the original element</p>
<a id="Hi_Common_XmlUtils_XmlUtil_GetFileWrappedXElement_" data-uid="Hi.Common.XmlUtils.XmlUtil.GetFileWrappedXElement*"></a>
<h3 id="Hi_Common_XmlUtils_XmlUtil_GetFileWrappedXElement_System_Xml_Linq_XElement_System_String_System_String_" data-uid="Hi.Common.XmlUtils.XmlUtil.GetFileWrappedXElement(System.Xml.Linq.XElement,System.String,System.String)">
GetFileWrappedXElement(XElement, string, string)
<h3 id="Hi_Common_XmlUtils_XmlUtil_GetFileWrappedXElement_System_Xml_Linq_XElement_System_String_System_String_System_Boolean_" data-uid="Hi.Common.XmlUtils.XmlUtil.GetFileWrappedXElement(System.Xml.Linq.XElement,System.String,System.String,System.Boolean)">
GetFileWrappedXElement(XElement, string, string, bool)
</h3>
@@ -359,7 +359,7 @@ otherwise, returns the original element</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static XElement GetFileWrappedXElement(this XElement src, string baseDirectory, string sourceFile)</code></pre>
<pre><code class="lang-csharp hljs">public static XElement GetFileWrappedXElement(this XElement src, string baseDirectory, string sourceFile, bool exhibitionOnly)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -372,6 +372,9 @@ otherwise, returns the original element</p>
</dd>
<dt><code>sourceFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The relative file path to save the element to, or null to return the element as-is</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>See <a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html#Hi_Common_XmlUtils_IMakeXmlSource_MakeXmlSource_System_String_System_String_System_Boolean_">MakeXmlSource(string, string, bool)</a> for parameter description.</p>
</dd>
</dl>
@@ -434,7 +437,7 @@ otherwise, saves the element to the specified file and returns a file reference
<a id="Hi_Common_XmlUtils_XmlUtil_GetNameNoteXElementList_" data-uid="Hi.Common.XmlUtils.XmlUtil.GetNameNoteXElementList*"></a>
<h3 id="Hi_Common_XmlUtils_XmlUtil_GetNameNoteXElementList_Hi_Common_XmlUtils_INameNote_" data-uid="Hi.Common.XmlUtils.XmlUtil.GetNameNoteXElementList(Hi.Common.XmlUtils.INameNote)">
<h3 id="Hi_Common_XmlUtils_XmlUtil_GetNameNoteXElementList_Hi_Common_INameNote_" data-uid="Hi.Common.XmlUtils.XmlUtil.GetNameNoteXElementList(Hi.Common.INameNote)">
GetNameNoteXElementList(INameNote)
</h3>
@@ -449,7 +452,7 @@ otherwise, saves the element to the specified file and returns a file reference
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="Hi.Common.XmlUtils.INameNote.html">INameNote</a></dt>
<dt><code>src</code> <a class="xref" href="Hi.Common.INameNote.html">INameNote</a></dt>
<dd><p>The source INameNote object</p>
</dd>
</dl>
@@ -527,8 +530,8 @@ otherwise, saves the element to the specified file and returns a file reference
<a id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSourceFile*"></a>
<h3 id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSourceFile(Hi.Common.XmlUtils.IMakeXmlSource,System.String)">
MakeXmlSourceFile(IMakeXmlSource, string)
<h3 id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_Boolean_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSourceFile(Hi.Common.XmlUtils.IMakeXmlSource,System.String,System.Boolean)">
MakeXmlSourceFile(IMakeXmlSource, string, bool)
</h3>
@@ -537,7 +540,7 @@ otherwise, saves the element to the specified file and returns a file reference
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void MakeXmlSourceFile(this IMakeXmlSource src, string filePath)</code></pre>
<pre><code class="lang-csharp hljs">public static void MakeXmlSourceFile(this IMakeXmlSource src, string filePath, bool exhibitionOnly = false)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -547,6 +550,9 @@ otherwise, saves the element to the specified file and returns a file reference
</dd>
<dt><code>filePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The path where the XML file will be created.</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>See <a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html#Hi_Common_XmlUtils_IMakeXmlSource_MakeXmlSource_System_String_System_String_System_Boolean_">MakeXmlSource(string, string, bool)</a> for parameter description.</p>
</dd>
</dl>
@@ -563,8 +569,8 @@ otherwise, saves the element to the specified file and returns a file reference
<a id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSourceWithRebaseFile*"></a>
<h3 id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_String_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSourceWithRebaseFile(Hi.Common.XmlUtils.IMakeXmlSource,System.String,System.String)">
MakeXmlSourceWithRebaseFile(IMakeXmlSource, string, string)
<h3 id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSourceWithRebaseFile(Hi.Common.XmlUtils.IMakeXmlSource,System.String,System.String,System.Boolean)">
MakeXmlSourceWithRebaseFile(IMakeXmlSource, string, string, bool)
</h3>
@@ -573,7 +579,7 @@ otherwise, saves the element to the specified file and returns a file reference
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static XElement MakeXmlSourceWithRebaseFile(this IMakeXmlSource src, string baseDirectory, string relFile)</code></pre>
<pre><code class="lang-csharp hljs">public static XElement MakeXmlSourceWithRebaseFile(this IMakeXmlSource src, string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -586,6 +592,9 @@ otherwise, saves the element to the specified file and returns a file reference
</dd>
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The relative file path to save the XML to, or null to not save to a file</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>See <a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html#Hi_Common_XmlUtils_IMakeXmlSource_MakeXmlSource_System_String_System_String_System_Boolean_">MakeXmlSource(string, string, bool)</a> for parameter description.</p>
</dd>
</dl>
@@ -609,8 +618,8 @@ otherwise, saves the XML to the specified file and returns a file reference elem
<a id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSource_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSource*"></a>
<h3 id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSource__1_System_Collections_Generic_IDictionary_System_String___0__System_String_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSource``1(System.Collections.Generic.IDictionary{System.String,``0},System.String)">
MakeXmlSource&lt;T&gt;(IDictionary&lt;string, T&gt;, string)
<h3 id="Hi_Common_XmlUtils_XmlUtil_MakeXmlSource__1_System_Collections_Generic_IDictionary_System_String___0__System_String_System_Boolean_" data-uid="Hi.Common.XmlUtils.XmlUtil.MakeXmlSource``1(System.Collections.Generic.IDictionary{System.String,``0},System.String,System.Boolean)">
MakeXmlSource&lt;T&gt;(IDictionary&lt;string, T&gt;, string, bool)
</h3>
@@ -619,7 +628,7 @@ otherwise, saves the XML to the specified file and returns a file reference elem
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static XElement MakeXmlSource&lt;T&gt;(this IDictionary&lt;string, T&gt; dictionary, string baseDirectory) where T : IMakeXmlSource</code></pre>
<pre><code class="lang-csharp hljs">public static XElement MakeXmlSource&lt;T&gt;(this IDictionary&lt;string, T&gt; dictionary, string baseDirectory, bool exhibitionOnly) where T : IMakeXmlSource</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -629,6 +638,9 @@ otherwise, saves the XML to the specified file and returns a file reference elem
</dd>
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The base directory for resolving paths</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>See <a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html#Hi_Common_XmlUtils_IMakeXmlSource_MakeXmlSource_System_String_System_String_System_Boolean_">MakeXmlSource(string, string, bool)</a> for parameter description.</p>
</dd>
</dl>
@@ -699,7 +711,7 @@ otherwise, saves the XML to the specified file and returns a file reference elem
<a id="Hi_Common_XmlUtils_XmlUtil_SetNameNote_" data-uid="Hi.Common.XmlUtils.XmlUtil.SetNameNote*"></a>
<h3 id="Hi_Common_XmlUtils_XmlUtil_SetNameNote_Hi_Common_XmlUtils_INameNote_System_Xml_Linq_XElement_" data-uid="Hi.Common.XmlUtils.XmlUtil.SetNameNote(Hi.Common.XmlUtils.INameNote,System.Xml.Linq.XElement)">
<h3 id="Hi_Common_XmlUtils_XmlUtil_SetNameNote_Hi_Common_INameNote_System_Xml_Linq_XElement_" data-uid="Hi.Common.XmlUtils.XmlUtil.SetNameNote(Hi.Common.INameNote,System.Xml.Linq.XElement)">
SetNameNote(INameNote, XElement)
</h3>
@@ -714,7 +726,7 @@ otherwise, saves the XML to the specified file and returns a file reference elem
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>dst</code> <a class="xref" href="Hi.Common.XmlUtils.INameNote.html">INameNote</a></dt>
<dt><code>dst</code> <a class="xref" href="Hi.Common.INameNote.html">INameNote</a></dt>
<dd><p>The destination INameNote object to update</p>
</dd>
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>