deploy webservice static-file routing for docsite folder URLs, per-instance step-cache db, and constant-height panel title bars.

This commit is contained in:
2026-08-27 14:51:37 +08:00
parent 1fc510af5e
commit 2a98ae7556
1468 changed files with 182837 additions and 18888 deletions
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class CultureUtil | HiAPI-C# 2025 ">
<meta name="description" content="Utility class for managing culture and localization settings.">
<meta name="description" content="The English culture the engine formats and parses with, and the one call that pins a thread to it.">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
@@ -97,7 +97,8 @@ Class CultureUtil
<dl><dt>Assembly</dt><dd>HiGeom.dll</dd></dl>
</div>
<div class="markdown summary"><p>Utility class for managing culture and localization settings.</p>
<div class="markdown summary"><p>The English culture the engine formats and parses with, and the one call
that pins a thread to it.</p>
</div>
<div class="markdown conceptual"></div>
@@ -153,19 +154,20 @@ Class CultureUtil
</h2>
<a id="Hi_Common_CultureUtil_SupportedCultureNames_" data-uid="Hi.Common.CultureUtil.SupportedCultureNames*"></a>
<a id="Hi_Common_CultureUtil_English_" data-uid="Hi.Common.CultureUtil.English*"></a>
<h3 id="Hi_Common_CultureUtil_SupportedCultureNames" data-uid="Hi.Common.CultureUtil.SupportedCultureNames">
SupportedCultureNames
<h3 id="Hi_Common_CultureUtil_English" data-uid="Hi.Common.CultureUtil.English">
English
</h3>
<div class="markdown level1 summary"><p>Gets the array of supported culture names.</p>
<div class="markdown level1 summary"><p>English, with <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.numberformatinfo.nansymbol">NaNSymbol</a> forced to
<code>&ldquo;NaN&rdquo;</code> so a non-finite value round-trips through text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string[] SupportedCultureNames { get; }</code></pre>
<pre><code class="lang-csharp hljs">public static CultureInfo English { get; }</code></pre>
</div>
@@ -174,13 +176,19 @@ Class CultureUtil
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</dt>
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a></dt>
<dd></dd>
</dl>
<h4 class="section" id="Hi_Common_CultureUtil_English_remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>Read-only, and safe to hand to APIs that keep the reference: ASP.NET
request localization matches by name and returns
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.readonly">ReadOnly(CultureInfo)</a> clones, which preserve
the patched symbol.</p>
</div>
@@ -189,39 +197,6 @@ Class CultureUtil
</h2>
<a id="Hi_Common_CultureUtil_SetCurrentCulture_" data-uid="Hi.Common.CultureUtil.SetCurrentCulture*"></a>
<h3 id="Hi_Common_CultureUtil_SetCurrentCulture_System_String_" data-uid="Hi.Common.CultureUtil.SetCurrentCulture(System.String)">
SetCurrentCulture(string)
</h3>
<div class="markdown level1 summary"><p>Sets the current thread culture to the specified culture code.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void SetCurrentCulture(string cultureCode)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>cultureCode</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The culture code to set (e.g., &ldquo;en&rdquo;, &ldquo;zh-Hant&rdquo;)</p>
</dd>
</dl>
<a id="Hi_Common_CultureUtil_SetCurrentCultureEn_" data-uid="Hi.Common.CultureUtil.SetCurrentCultureEn*"></a>
<h3 id="Hi_Common_CultureUtil_SetCurrentCultureEn" data-uid="Hi.Common.CultureUtil.SetCurrentCultureEn">
@@ -229,7 +204,7 @@ Class CultureUtil
</h3>
<div class="markdown level1 summary"><p>Sets the current culture to English.</p>
<div class="markdown level1 summary"><p>Pins the calling thread to <a class="xref" href="Hi.Common.CultureUtil.html#Hi_Common_CultureUtil_English">English</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>