This commit is contained in:
2026-01-17 16:11:23 +08:00
parent a06e0d3724
commit 6607c78f0d
53 changed files with 3001 additions and 958 deletions
@@ -152,6 +152,127 @@ Class SoftNcUtil
</h2>
<a id="Hi_Numerical_SoftParsers_SoftNcUtil_GetFlagDoubles_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GetFlagDoubles*"></a>
<h3 id="Hi_Numerical_SoftParsers_SoftNcUtil_GetFlagDoubles_System_String_System_Collections_Generic_IEnumerable_System_String__" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GetFlagDoubles(System.String,System.Collections.Generic.IEnumerable{System.String})">
GetFlagDoubles(string, IEnumerable&lt;string&gt;)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IEnumerable&lt;(string Flag, double Value, string OriginalText)&gt; GetFlagDoubles(string unManagedText, IEnumerable&lt;string&gt; flags)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>unManagedText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>flags</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.string,system.double,system.string-.flag">Flag</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.string,system.double,system.string-.value">Value</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.string,system.double,system.string-.originaltext">OriginalText</a>)&gt;</dt>
<dd></dd>
</dl>
<a id="Hi_Numerical_SoftParsers_SoftNcUtil_GetFlagDoublesXyz_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GetFlagDoublesXyz*"></a>
<h3 id="Hi_Numerical_SoftParsers_SoftNcUtil_GetFlagDoublesXyz_System_String_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GetFlagDoublesXyz(System.String)">
GetFlagDoublesXyz(string)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IEnumerable&lt;(string Flag, double Value, string OriginalText)&gt; GetFlagDoublesXyz(string unManagedText)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>unManagedText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.string,system.double,system.string-.flag">Flag</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.string,system.double,system.string-.value">Value</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetuple-system.string,system.double,system.string-.originaltext">OriginalText</a>)&gt;</dt>
<dd></dd>
</dl>
<a id="Hi_Numerical_SoftParsers_SoftNcUtil_GrabDouble_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GrabDouble*"></a>
<h3 id="Hi_Numerical_SoftParsers_SoftNcUtil_GrabDouble_System_String__System_String_System_Boolean_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GrabDouble(System.String@,System.String,System.Boolean)">
GrabDouble(ref string, string, bool)
</h3>
<div class="markdown level1 summary"><p>Grab double value with decimal point judgement:
The text is changed by replacing tag and value to empty string.</p>
<p>If <code class="paramref">enableIntegerShrink</code> is true and no decimal point, the value should be scale by 0.001.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static double GrabDouble(ref string text, string tag, bool enableIntegerShrink)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>text</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>text</p>
</dd>
<dt><code>tag</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>tag</p>
</dd>
<dt><code>enableIntegerShrink</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>If true and no decimal point exists, the value will be scaled by 0.001.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>double value</p>
</dd>
</dl>
<a id="Hi_Numerical_SoftParsers_SoftNcUtil_GrabFlag_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GrabFlag*"></a>
<h3 id="Hi_Numerical_SoftParsers_SoftNcUtil_GrabFlag_System_String__System_String_" data-uid="Hi.Numerical.SoftParsers.SoftNcUtil.GrabFlag(System.String@,System.String)">