tune
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class IndexSegment | HiAPI-C# 2025 ">
|
||||
|
||||
<meta name="description" content="Represents a segment of indices with a beginning and ending point. Used for defining ranges of data in collections or arrays.">
|
||||
<meta name="description" content="Represents a segment of indices with a beginning (inclusive) and ending (exclusive&gt; point. Used for defining segment of data in collections or arrays.">
|
||||
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
@@ -97,8 +97,8 @@ Class IndexSegment
|
||||
<dl><dt>Assembly</dt><dd>HiGeom.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents a segment of indices with a beginning and ending point.
|
||||
Used for defining ranges of data in collections or arrays.</p>
|
||||
<div class="markdown summary"><p>Represents a segment of indices with a beginning (inclusive) and ending (exclusive> point.
|
||||
Used for defining segment of data in collections or arrays.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
@@ -772,12 +772,12 @@ Used for defining ranges of data in collections or arrays.</p>
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets an index segment from a list of data items based on the specified indices.</p>
|
||||
<div class="markdown level1 summary"><p>Gets an index segment from a list of data items by the specific group index.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static IndexSegment GetIndexSegment<TData>(IList<TData> steps, int cacheStepIndex, int keyStepIndex, Func<TData, int?> dataToKeyIndexFunc)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static IndexSegment GetIndexSegment<TData>(IList<TData> steps, int startListIndex, int targetGroupIndex, Func<TData, int?> dataToGroupIndexFunc)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -785,14 +785,14 @@ Used for defining ranges of data in collections or arrays.</p>
|
||||
<dt><code>steps</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a><TData></dt>
|
||||
<dd><p>The list of data items.</p>
|
||||
</dd>
|
||||
<dt><code>cacheStepIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>The cache step index.</p>
|
||||
<dt><code>startListIndex</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>keyStepIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>The key step index.</p>
|
||||
<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>
|
||||
</dd>
|
||||
<dt><code>dataToKeyIndexFunc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a><TData, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?></dt>
|
||||
<dd><p>A function that extracts an index from a data item.</p>
|
||||
<dt><code>dataToGroupIndexFunc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a><TData, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?></dt>
|
||||
<dd><p>A function that extracts a segmentkey from a data item.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user