This commit is contained in:
2025-09-06 21:25:33 +08:00
parent f6dd232ef8
commit 878475acf8
108 changed files with 5919 additions and 4961 deletions
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class ManualUtil | HiAPI-C# 2025 ">
<meta name="description" content="Utility class for handling manual and documentation files with culture support.">
<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 ManualUtil
<dl><dt>Assembly</dt><dd>HiNc.dll</dd></dl>
</div>
<div class="markdown summary"></div>
<div class="markdown summary"><p>Utility class for handling manual and documentation files with culture support.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
@@ -158,7 +159,8 @@ Class ManualUtil
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Keyword placeholder for culture in URL templates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -193,7 +195,8 @@ Class ManualUtil
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets the best available deployment URL by removing the wwwroot prefix from the source URL.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -203,13 +206,15 @@ Class ManualUtil
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>urlTemplate</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>URL template containing culture placeholder.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>The best matching deployment URL for the current culture.</p>
</dd>
</dl>
@@ -229,7 +234,8 @@ Class ManualUtil
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets the best available source URL by matching the current culture or falling back to defaults.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -239,13 +245,15 @@ Class ManualUtil
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>urlTemplate</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>URL template containing culture placeholder.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>The best matching source URL for the current culture.</p>
</dd>
</dl>
@@ -265,7 +273,8 @@ Class ManualUtil
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Extracts the title from an HTML file by looking for the first h1 tag or title tag.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -275,13 +284,15 @@ Class ManualUtil
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>urlTemplate</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>URL template containing culture placeholder.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dd><p>The extracted title or empty string if not found.</p>
</dd>
</dl>