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
@@ -767,17 +767,19 @@ Used for defining segment of data in collections or arrays.</p>
<a id="Hi_Common_IndexSegment_GetIndexSegment_" data-uid="Hi.Common.IndexSegment.GetIndexSegment*"></a>
<h3 id="Hi_Common_IndexSegment_GetIndexSegment__1_System_Collections_Generic_IList___0__System_Int32_System_Int32_System_Func___0_System_Nullable_System_Int32___" data-uid="Hi.Common.IndexSegment.GetIndexSegment``1(System.Collections.Generic.IList{``0},System.Int32,System.Int32,System.Func{``0,System.Nullable{System.Int32}})">
GetIndexSegment&lt;TData&gt;(IList&lt;TData&gt;, int, int, Func&lt;TData, int?&gt;)
<h3 id="Hi_Common_IndexSegment_GetIndexSegment__2_System_Collections_Generic_IList___0__System_Int32___1_System_Func___0___1____1_" data-uid="Hi.Common.IndexSegment.GetIndexSegment``2(System.Collections.Generic.IList{``0},System.Int32,``1,System.Func{``0,``1},``1)">
GetIndexSegment&lt;TData, TKey&gt;(IList&lt;TData&gt;, int, TKey, Func&lt;TData, TKey&gt;, TKey)
</h3>
<div class="markdown level1 summary"><p>Gets an index segment from a list of data items by the specific group index.</p>
<div class="markdown level1 summary"><p>Finds the contiguous run of items whose key equals
<code class="paramref">targetGroupKey</code>, scanning outward from
<code class="paramref">seekingStartListIndex</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexSegment GetIndexSegment&lt;TData&gt;(IList&lt;TData&gt; steps, int seekingStartListIndex, int targetGroupIndex, Func&lt;TData, int?&gt; dataToGroupIndexFunc)</code></pre>
<pre><code class="lang-csharp hljs">public static IndexSegment GetIndexSegment&lt;TData, TKey&gt;(IList&lt;TData&gt; steps, int seekingStartListIndex, TKey targetGroupKey, Func&lt;TData, TKey&gt; keyFunc, TKey seekStartFallbackKey = null) where TKey : class, IComparable&lt;TKey&gt;</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -788,11 +790,14 @@ Used for defining segment of data in collections or arrays.</p>
<dt><code>seekingStartListIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The start step index for seeking.</p>
</dd>
<dt><code>targetGroupIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The target segment key.</p>
<dt><code>targetGroupKey</code> <span class="xref">TKey</span></dt>
<dd><p>The key of the segment to locate.</p>
</dd>
<dt><code>dataToGroupIndexFunc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;TData, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?&gt;</dt>
<dd><p>A function that extracts a segmentkey from a data item.</p>
<dt><code>keyFunc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;TData, TKey&gt;</dt>
<dd><p>Extracts the ordering key from a data item; may return null for an item with no key.</p>
</dd>
<dt><code>seekStartFallbackKey</code> <span class="xref">TKey</span></dt>
<dd><p>Key used when the seeking-start item has none (a null cache lands in the equality branch).</p>
</dd>
</dl>
@@ -807,6 +812,9 @@ Used for defining segment of data in collections or arrays.</p>
<dl class="parameters">
<dt><code>TData</code></dt>
<dd><p>The type of data items.</p>
</dd>
<dt><code>TKey</code></dt>
<dd><p>The ordering key type (e.g. a file-line position).</p>
</dd>
</dl>