Updated docs, build 105
This commit is contained in:
Родитель
155de0f0a5
Коммит
30819c2d4a
|
@ -22,7 +22,7 @@ project:
|
||||||
# The assemblies for which documentation should be generated,
|
# The assemblies for which documentation should be generated,
|
||||||
# .xml files are expected in the same location
|
# .xml files are expected in the same location
|
||||||
assemblies:
|
assemblies:
|
||||||
- ./Build/Release/Topten.RichTextKit/netcoreapp2.1/Topten.RichTextKit.dll
|
- ./Build/Release/Topten.RichTextKit/netcoreapp2.0/Topten.RichTextKit.dll
|
||||||
|
|
||||||
# Namespaces to be assumed when formatting fully qualified type names
|
# Namespaces to be assumed when formatting fully qualified type names
|
||||||
namespaces:
|
namespaces:
|
||||||
|
|
|
@ -156,7 +156,6 @@ navTree:
|
||||||
- text: Lines|./ref/Topten.RichTextKit.TextBlock.Lines
|
- text: Lines|./ref/Topten.RichTextKit.TextBlock.Lines
|
||||||
- text: MaxHeight|./ref/Topten.RichTextKit.TextBlock.MaxHeight
|
- text: MaxHeight|./ref/Topten.RichTextKit.TextBlock.MaxHeight
|
||||||
- text: MaxLines|./ref/Topten.RichTextKit.TextBlock.MaxLines
|
- text: MaxLines|./ref/Topten.RichTextKit.TextBlock.MaxLines
|
||||||
- text: MaxOverhang|./ref/Topten.RichTextKit.TextBlock.MaxOverhang
|
|
||||||
- text: MaxWidth|./ref/Topten.RichTextKit.TextBlock.MaxWidth
|
- text: MaxWidth|./ref/Topten.RichTextKit.TextBlock.MaxWidth
|
||||||
- text: MeasuredHeight|./ref/Topten.RichTextKit.TextBlock.MeasuredHeight
|
- text: MeasuredHeight|./ref/Topten.RichTextKit.TextBlock.MeasuredHeight
|
||||||
- text: MeasuredOverhang|./ref/Topten.RichTextKit.TextBlock.MeasuredOverhang
|
- text: MeasuredOverhang|./ref/Topten.RichTextKit.TextBlock.MeasuredOverhang
|
||||||
|
@ -234,12 +233,26 @@ navTree:
|
||||||
- text: AsSlice|./ref/Topten.RichTextKit.Utils.Buffer[T].AsSlice
|
- text: AsSlice|./ref/Topten.RichTextKit.Utils.Buffer[T].AsSlice
|
||||||
- text: Clear|./ref/Topten.RichTextKit.Utils.Buffer[T].Clear
|
- text: Clear|./ref/Topten.RichTextKit.Utils.Buffer[T].Clear
|
||||||
- text: SubSlice|./ref/Topten.RichTextKit.Utils.Buffer[T].SubSlice
|
- text: SubSlice|./ref/Topten.RichTextKit.Utils.Buffer[T].SubSlice
|
||||||
|
- text: MappedSlice<T>
|
||||||
|
subItems:
|
||||||
|
- text: Overview|./ref/Topten.RichTextKit.Utils.MappedSlice[T]
|
||||||
|
- text: Constructors|./ref/Topten.RichTextKit.Utils.MappedSlice[T]..ctor
|
||||||
|
- text: Properties
|
||||||
|
subItems:
|
||||||
|
- text: Item|./ref/Topten.RichTextKit.Utils.MappedSlice[T].Item
|
||||||
|
- text: Length|./ref/Topten.RichTextKit.Utils.MappedSlice[T].Length
|
||||||
|
- text: Mapping|./ref/Topten.RichTextKit.Utils.MappedSlice[T].Mapping
|
||||||
|
- text: Underlying|./ref/Topten.RichTextKit.Utils.MappedSlice[T].Underlying
|
||||||
|
- text: Methods
|
||||||
|
subItems:
|
||||||
|
- text: ToArray|./ref/Topten.RichTextKit.Utils.MappedSlice[T].ToArray
|
||||||
- text: Slice<T>
|
- text: Slice<T>
|
||||||
subItems:
|
subItems:
|
||||||
- text: Overview|./ref/Topten.RichTextKit.Utils.Slice[T]
|
- text: Overview|./ref/Topten.RichTextKit.Utils.Slice[T]
|
||||||
- text: Constructors|./ref/Topten.RichTextKit.Utils.Slice[T]..ctor
|
- text: Constructors|./ref/Topten.RichTextKit.Utils.Slice[T]..ctor
|
||||||
- text: Properties
|
- text: Properties
|
||||||
subItems:
|
subItems:
|
||||||
|
- text: Empty|./ref/Topten.RichTextKit.Utils.Slice[T].Empty
|
||||||
- text: Item|./ref/Topten.RichTextKit.Utils.Slice[T].Item
|
- text: Item|./ref/Topten.RichTextKit.Utils.Slice[T].Item
|
||||||
- text: Length|./ref/Topten.RichTextKit.Utils.Slice[T].Length
|
- text: Length|./ref/Topten.RichTextKit.Utils.Slice[T].Length
|
||||||
- text: Start|./ref/Topten.RichTextKit.Utils.Slice[T].Start
|
- text: Start|./ref/Topten.RichTextKit.Utils.Slice[T].Start
|
||||||
|
@ -247,6 +260,7 @@ navTree:
|
||||||
- text: Methods
|
- text: Methods
|
||||||
subItems:
|
subItems:
|
||||||
- text: Clear|./ref/Topten.RichTextKit.Utils.Slice[T].Clear
|
- text: Clear|./ref/Topten.RichTextKit.Utils.Slice[T].Clear
|
||||||
|
- text: Fill|./ref/Topten.RichTextKit.Utils.Slice[T].Fill
|
||||||
- text: SubSlice|./ref/Topten.RichTextKit.Utils.Slice[T].SubSlice
|
- text: SubSlice|./ref/Topten.RichTextKit.Utils.Slice[T].SubSlice
|
||||||
- text: ToArray|./ref/Topten.RichTextKit.Utils.Slice[T].ToArray
|
- text: ToArray|./ref/Topten.RichTextKit.Utils.Slice[T].ToArray
|
||||||
- text: Utf32Buffer
|
- text: Utf32Buffer
|
||||||
|
|
|
@ -8,7 +8,7 @@ isMarkdown: false
|
||||||
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredWidth">Topten.RichTextKit.TextBlock.MeasuredWidth</a></li>
|
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredWidth">Topten.RichTextKit.TextBlock.MeasuredWidth</a></li>
|
||||||
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredHeight">Topten.RichTextKit.TextBlock.MeasuredHeight</a></li>
|
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredHeight">Topten.RichTextKit.TextBlock.MeasuredHeight</a></li>
|
||||||
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredPadding">Topten.RichTextKit.TextBlock.MeasuredPadding</a></li>
|
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredPadding">Topten.RichTextKit.TextBlock.MeasuredPadding</a></li>
|
||||||
<li><a href="./ref/Topten.RichTextKit.TextBlock.MaxOverhang">Topten.RichTextKit.TextBlock.MaxOverhang</a></li>
|
<li>[P:Topten.RichTextKit.TextBlock.MaxOverhang]</li>
|
||||||
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredOverhang">Topten.RichTextKit.TextBlock.MeasuredOverhang</a></li>
|
<li><a href="./ref/Topten.RichTextKit.TextBlock.MeasuredOverhang">Topten.RichTextKit.TextBlock.MeasuredOverhang</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="going-deeper">Going Deeper</h2>
|
<h2 id="going-deeper">Going Deeper</h2>
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
---
|
|
||||||
title: "TextBlock.MaxOverhang"
|
|
||||||
isMarkdown: false
|
|
||||||
import: "../.common.page"
|
|
||||||
---
|
|
||||||
|
|
||||||
<h1 data-nav-secondary-text="Definition" id="definition">TextBlock.MaxOverhang Property</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<small>
|
|
||||||
Assembly: Topten.RichTextKit.dll<br />
|
|
||||||
Namespace: <a href="./../ref/Topten.RichTextKit">Topten.RichTextKit</a><br />
|
|
||||||
|
|
||||||
Declaring Type: <a href="./../ref/Topten.RichTextKit.TextBlock">TextBlock</a><br />
|
|
||||||
</small>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>Returns the maximum possible overhang based on the fonts used in this text block</p>
|
|
||||||
|
|
||||||
|
|
||||||
<pre class="language-csharp"><code class="language-csharp">public SkiaSharp.SKRect MaxOverhang { get; }</code></pre>
|
|
||||||
|
|
||||||
<h2 id="remarks">Remarks</h2><p>Some font's can overhang the left and right margins. eg: a lowercase 'j' at
|
|
||||||
the start of a line will often overhang to the left of the left margin.</p>
|
|
||||||
<p>This property returns the maximum overhang in each direction based on the fonts
|
|
||||||
used, but not the actual text or final layout. This can be useful to get a
|
|
||||||
consistent maximum possible overhang, although the returned value is often
|
|
||||||
excessive (depending on the font).</p>
|
|
||||||
<p>Currently only the left overhang is calculated.</p>
|
|
||||||
<p>The return rectangle describes overhang amounts for each edge - not rectangle
|
|
||||||
co-ordinates.</p>
|
|
||||||
|
|
||||||
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
|
||||||
<tr>
|
|
||||||
<td>SkiaSharp.SKRect</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,7 @@ fonts used, and the supplied text.</p>
|
||||||
|
|
||||||
<pre class="language-csharp"><code class="language-csharp">public SkiaSharp.SKRect MeasuredOverhang { get; }</code></pre>
|
<pre class="language-csharp"><code class="language-csharp">public SkiaSharp.SKRect MeasuredOverhang { get; }</code></pre>
|
||||||
|
|
||||||
<h2 id="remarks">Remarks</h2><p>Currently only the left overhang is calculated.</p>
|
<h2 id="remarks">Remarks</h2><p>The return rectangle describes overhang amounts for each edge - not
|
||||||
<p>The return rectangle describes overhang amounts for each edge - not
|
|
||||||
rectangle co-ordinates.</p>
|
rectangle co-ordinates.</p>
|
||||||
|
|
||||||
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
||||||
|
|
|
@ -81,11 +81,6 @@ ellipsis (<code>...</code>) character.</p>
|
||||||
<td><p>The maximum number of lines after which lines will be
|
<td><p>The maximum number of lines after which lines will be
|
||||||
truncated and the final line will be appended with an
|
truncated and the final line will be appended with an
|
||||||
ellipsis (<code>...</code>) character.</p>
|
ellipsis (<code>...</code>) character.</p>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="./../ref/Topten.RichTextKit.TextBlock.MaxOverhang">MaxOverhang</a></td>
|
|
||||||
<td><p>Returns the maximum possible overhang based on the fonts used in this text block</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -0,0 +1,56 @@
|
||||||
|
---
|
||||||
|
title: "MappedSlice<T>..ctor"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">MappedSlice<T> Constructor</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]">MappedSlice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Constructs a new mapped array</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public MappedSlice(Slice<T> data, Slice<int> mapping);</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="parameters">Parameters</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
<a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<T></a> data
|
||||||
|
</td>
|
||||||
|
<td><p>The data to be mapped</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
<a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<int></a> mapping
|
||||||
|
</td>
|
||||||
|
<td><p>The index map</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
---
|
||||||
|
title: "MappedSlice<T>.Item"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">MappedSlice<T>.Item Property</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]">MappedSlice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Gets a reference to a mapped element</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public ref T this[int index] { get; }</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="parameters">Parameters</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
<a href="https://docs.microsoft.com/dotnet/api/System.Int32">int</a> index
|
||||||
|
</td>
|
||||||
|
<td><p>The mapped index to be retrieved</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td>ref T</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
---
|
||||||
|
title: "MappedSlice<T>.Length"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">MappedSlice<T>.Length Property</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]">MappedSlice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Gets the number of elements in this mapping</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public int Length { get; }</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://docs.microsoft.com/dotnet/api/System.Int32">int</a></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
---
|
||||||
|
title: "MappedSlice<T>.Mapping"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">MappedSlice<T>.Mapping Property</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]">MappedSlice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Get the index mapping for this mapped array</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public Slice<int> Mapping { get; }</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<int></a></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
---
|
||||||
|
title: "MappedSlice<T>.ToArray"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">MappedSlice<T>.ToArray Method</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]">MappedSlice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Get the content of this mapped slice as an array</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public T[] ToArray();</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="returns">Returns</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td>T[]</td>
|
||||||
|
<td><p>The content as an array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
---
|
||||||
|
title: "MappedSlice<T>.Underlying"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">MappedSlice<T>.Underlying Property</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]">MappedSlice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Get the underlying slice for this mapped array</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public Slice<T> Underlying { get; }</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<T></a></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,93 @@
|
||||||
|
---
|
||||||
|
title: "Topten.RichTextKit.Utils.MappedSlice<T>"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 id="definition" data-nav-secondary-text="Definition">MappedSlice<T> Struct</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<p>Provides a mapped view of an underlying slice array, selecting arbitrary indicies
|
||||||
|
from the source array</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public struct MappedSlice<T></code></pre>
|
||||||
|
|
||||||
|
<h2 id="inherits">Inheritance</h2>
|
||||||
|
<p>
|
||||||
|
MappedSlice<T>
|
||||||
|
→ <a href="https://docs.microsoft.com/dotnet/api/System.ValueType">ValueType</a> → <a href="https://docs.microsoft.com/dotnet/api/System.Object">object</a> </p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="type-parameters">Type Parameters</h2>
|
||||||
|
<table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td>T</td>
|
||||||
|
<td><p>The element type of the underlying array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<h2 id="constructors">Constructors</h2>
|
||||||
|
<table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]..ctor">MappedSlice(Slice<T>, Slice<int>)</a></td>
|
||||||
|
<td><p>Constructs a new mapped array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="properties">Properties</h2>
|
||||||
|
<table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T].Item">Item[int]</a></td>
|
||||||
|
<td><p>Gets a reference to a mapped element</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T].Length">Length</a></td>
|
||||||
|
<td><p>Gets the number of elements in this mapping</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T].Mapping">Mapping</a></td>
|
||||||
|
<td><p>Get the index mapping for this mapped array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T].Underlying">Underlying</a></td>
|
||||||
|
<td><p>Get the underlying slice for this mapped array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<h2 id="methods">Methods</h2>
|
||||||
|
<table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T].ToArray">ToArray()</a></td>
|
||||||
|
<td><p>Get the content of this mapped slice as an array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
---
|
||||||
|
title: "Slice<T>.Empty"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">Slice<T>.Empty Property</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>A shared empty slice of type T</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public static Slice<T> Empty { get; }</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="property-type">Property Type</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<T></a></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
---
|
||||||
|
title: "Slice<T>.Fill"
|
||||||
|
isMarkdown: false
|
||||||
|
import: "../.common.page"
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1 data-nav-secondary-text="Definition" id="definition">Slice<T>.Fill Method</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<small>
|
||||||
|
Assembly: Topten.RichTextKit.dll<br />
|
||||||
|
Namespace: <a href="./../ref/Topten.RichTextKit.Utils">Topten.RichTextKit.Utils</a><br />
|
||||||
|
|
||||||
|
Declaring Type: <a href="./../ref/Topten.RichTextKit.Utils.Slice[T]">Slice<T></a><br />
|
||||||
|
</small>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p>Fill the slice with a specified value</p>
|
||||||
|
|
||||||
|
|
||||||
|
<pre class="language-csharp"><code class="language-csharp">public void Fill(T value);</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="parameters">Parameters</h2> <table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
T value
|
||||||
|
</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,11 @@ import: "../.common.page"
|
||||||
|
|
||||||
<h2 id="properties">Properties</h2>
|
<h2 id="properties">Properties</h2>
|
||||||
<table class="name-description">
|
<table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T].Empty">Empty</a></td>
|
||||||
|
<td><p>A shared empty slice of type T</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T].Item">Item[int]</a></td>
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T].Item">Item[int]</a></td>
|
||||||
<td><p>Gets a reference to an element in the slice</p>
|
<td><p>Gets a reference to an element in the slice</p>
|
||||||
|
@ -86,6 +91,11 @@ import: "../.common.page"
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T].Clear">Clear()</a></td>
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T].Clear">Clear()</a></td>
|
||||||
<td><p>Clears the entire slice content</p>
|
<td><p>Clears the entire slice content</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T].Fill">Fill(T)</a></td>
|
||||||
|
<td><p>Fill the slice with a specified value</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -33,6 +33,12 @@ import: "../.common.page"
|
||||||
|
|
||||||
<h2 id="structs">Structs</h2>
|
<h2 id="structs">Structs</h2>
|
||||||
<table class="name-description">
|
<table class="name-description">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./../ref/Topten.RichTextKit.Utils.MappedSlice[T]"> MappedSlice<T></a></td>
|
||||||
|
<td><p>Provides a mapped view of an underlying slice array, selecting arbitrary indicies
|
||||||
|
from the source array</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T]"> Slice<T></a></td>
|
<td><a href="./../ref/Topten.RichTextKit.Utils.Slice[T]"> Slice<T></a></td>
|
||||||
<td><p>Represents a slice of an array</p>
|
<td><p>Represents a slice of an array</p>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче