This commit is contained in:
HueByte
2026-04-20 15:46:39 +00:00
parent bdec3d4140
commit 54935aa8b5
25 changed files with 2534 additions and 67 deletions
@@ -324,8 +324,8 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<a id="EchoHub_Client_Services_EchoHubConnection_GetHistoryAsync_" data-uid="EchoHub.Client.Services.EchoHubConnection.GetHistoryAsync*"></a>
<h3 id="EchoHub_Client_Services_EchoHubConnection_GetHistoryAsync_System_String_System_Int32_" data-uid="EchoHub.Client.Services.EchoHubConnection.GetHistoryAsync(System.String,System.Int32)">
GetHistoryAsync(string, int)
<h3 id="EchoHub_Client_Services_EchoHubConnection_GetHistoryAsync_System_String_System_Int32_System_Int32_" data-uid="EchoHub.Client.Services.EchoHubConnection.GetHistoryAsync(System.String,System.Int32,System.Int32)">
GetHistoryAsync(string, int, int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/Services/EchoHubConnection.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -333,7 +333,7 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;MessageDto&gt;&gt; GetHistoryAsync(string channelName, int count = 100)</code></pre>
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;MessageDto&gt;&gt; GetHistoryAsync(string channelName, int count = 100, int offset = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -342,6 +342,8 @@ Class EchoHubConnection <a class="header-action link-secondary" title="View sou
<dd></dd>
<dt><code>count</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>offset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
@@ -547,6 +547,41 @@ so the UI layer can refresh.</p>
<a id="EchoHub_Client_UI_Chat_ChatMessageManager_PrependHistory_" data-uid="EchoHub.Client.UI.Chat.ChatMessageManager.PrependHistory*"></a>
<h3 id="EchoHub_Client_UI_Chat_ChatMessageManager_PrependHistory_System_String_System_Collections_Generic_List_EchoHub_Core_DTOs_MessageDto__" data-uid="EchoHub.Client.UI.Chat.ChatMessageManager.PrependHistory(System.String,System.Collections.Generic.List{EchoHub.Core.DTOs.MessageDto})">
PrependHistory(string, List&lt;MessageDto&gt;)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatMessageManager.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Prepend older messages at the front of a channel's buffer, skipping any that are already present.
Fires <a class="xref" href="EchoHub.Client.UI.Chat.ChatMessageManager.html#EchoHub_Client_UI_Chat_ChatMessageManager_HistoryPrepended">HistoryPrepended</a> when new lines are actually inserted.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PrependHistory(string channelName, List&lt;MessageDto&gt; olderMessages)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>channelName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>olderMessages</code> <span class="xref">List</span>&lt;<a class="xref" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/DTOs/ChatDtos.cs">MessageDto</a>&gt;</dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Chat_ChatMessageManager_RemoveMessage_" data-uid="EchoHub.Client.UI.Chat.ChatMessageManager.RemoveMessage*"></a>
<h3 id="EchoHub_Client_UI_Chat_ChatMessageManager_RemoveMessage_System_String_System_Guid_" data-uid="EchoHub.Client.UI.Chat.ChatMessageManager.RemoveMessage(System.String,System.Guid)">
@@ -648,6 +683,37 @@ so the UI layer can refresh.</p>
<h3 id="EchoHub_Client_UI_Chat_ChatMessageManager_HistoryPrepended" data-uid="EchoHub.Client.UI.Chat.ChatMessageManager.HistoryPrepended">
HistoryPrepended
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatMessageManager.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired after older messages are prepended to a channel's buffer. Parameter is the channel name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;string&gt;? HistoryPrepended</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_UI_Chat_ChatMessageManager_MessagesChanged" data-uid="EchoHub.Client.UI.Chat.ChatMessageManager.MessagesChanged">
MessagesChanged
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Chat/ChatMessageManager.cs"><i class="bi bi-code-slash"></i></a>
@@ -0,0 +1,219 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class SearchDialog | EchoHub Documentation </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class SearchDialog | EchoHub Documentation ">
<meta name="description" content="Command-palette style search dialog (Ctrl+K) for navigating channels and triggering app actions.">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_Dialogs_SearchDialog.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.Dialogs.SearchDialog%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="EchoHub.Client.UI.Dialogs.SearchDialog">
<h1 id="EchoHub_Client_UI_Dialogs_SearchDialog" data-uid="EchoHub.Client.UI.Dialogs.SearchDialog" class="text-break">
Class SearchDialog <a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="EchoHub.html">EchoHub</a>.<a class="xref" href="EchoHub.Client.html">Client</a>.<a class="xref" href="EchoHub.Client.UI.html">UI</a>.<a class="xref" href="EchoHub.Client.UI.Dialogs.html">Dialogs</a></dd></dl>
<dl><dt>Assembly</dt><dd>EchoHub.Client.dll</dd></dl>
</div>
<div class="markdown summary"><p>Command-palette style search dialog (Ctrl+K) for navigating channels and triggering app actions.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static class SearchDialog</code></pre>
</div>
<dl class="typelist inheritance">
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><span class="xref">SearchDialog</span></div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
</div>
</dd></dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="EchoHub_Client_UI_Dialogs_SearchDialog_Show_" data-uid="EchoHub.Client.UI.Dialogs.SearchDialog.Show*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchDialog_Show_Terminal_Gui_App_IApplication_System_Collections_Generic_IReadOnlyList_System_String__" data-uid="EchoHub.Client.UI.Dialogs.SearchDialog.Show(Terminal.Gui.App.IApplication,System.Collections.Generic.IReadOnlyList{System.String})">
Show(IApplication, IReadOnlyList&lt;string&gt;)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static SearchResult? Show(IApplication app, IReadOnlyList&lt;string&gt; channels)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>app</code> <span class="xref">IApplication</span></dt>
<dd></dd>
<dt><code>channels</code> <span class="xref">IReadOnlyList</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a></div></div>
</div>
</div>
</footer>
</body>
</html>
@@ -0,0 +1,660 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class SearchResult | EchoHub Documentation </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class SearchResult | EchoHub Documentation ">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_Dialogs_SearchResult.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.Dialogs.SearchResult%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="EchoHub.Client.UI.Dialogs.SearchResult">
<h1 id="EchoHub_Client_UI_Dialogs_SearchResult" data-uid="EchoHub.Client.UI.Dialogs.SearchResult" class="text-break">
Class SearchResult <a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="EchoHub.html">EchoHub</a>.<a class="xref" href="EchoHub.Client.html">Client</a>.<a class="xref" href="EchoHub.Client.UI.html">UI</a>.<a class="xref" href="EchoHub.Client.UI.Dialogs.html">Dialogs</a></dd></dl>
<dl><dt>Assembly</dt><dd>EchoHub.Client.dll</dd></dl>
</div>
<div class="markdown summary"></div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public record SearchResult : IEquatable&lt;SearchResult&gt;</code></pre>
</div>
<dl class="typelist inheritance">
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><span class="xref">SearchResult</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a>&gt;</div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="EchoHub_Client_UI_Dialogs_SearchResult__ctor_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.#ctor*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult__ctor_EchoHub_Client_UI_Dialogs_SearchResult_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.#ctor(EchoHub.Client.UI.Dialogs.SearchResult)">
SearchResult(SearchResult)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected SearchResult(SearchResult original)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>original</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult__ctor_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.#ctor*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult__ctor_EchoHub_Client_UI_Dialogs_SearchResultType_System_String_System_String_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.#ctor(EchoHub.Client.UI.Dialogs.SearchResultType,System.String,System.String)">
SearchResult(SearchResultType, string, string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public SearchResult(SearchResultType Type, string Key, string Label)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>Type</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResultType.html">SearchResultType</a></dt>
<dd></dd>
<dt><code>Key</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>Label</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_EqualityContract_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.EqualityContract*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_EqualityContract" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.EqualityContract">
EqualityContract
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Type EqualityContract { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_Key_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Key*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_Key" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Key">
Key
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Key { get; init; }</code></pre>
</div>
<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>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_Label_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Label*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_Label" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Label">
Label
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Label { get; init; }</code></pre>
</div>
<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>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_Type_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Type*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_Type" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Type">
Type
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public SearchResultType Type { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResultType.html">SearchResultType</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_Deconstruct_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Deconstruct*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_Deconstruct_EchoHub_Client_UI_Dialogs_SearchResultType__System_String__System_String__" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Deconstruct(EchoHub.Client.UI.Dialogs.SearchResultType@,System.String@,System.String@)">
Deconstruct(out SearchResultType, out string, out string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Deconstruct(out SearchResultType Type, out string Key, out string Label)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>Type</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResultType.html">SearchResultType</a></dt>
<dd></dd>
<dt><code>Key</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>Label</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_Equals_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Equals*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_Equals_EchoHub_Client_UI_Dialogs_SearchResult_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Equals(EchoHub.Client.UI.Dialogs.SearchResult)">
Equals(SearchResult?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool Equals(SearchResult? other)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>other</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_Equals_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Equals*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_Equals_System_Object_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.Equals(System.Object)">
Equals(object?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override bool Equals(object? obj)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>obj</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_GetHashCode_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.GetHashCode*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_GetHashCode" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.GetHashCode">
GetHashCode()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_PrintMembers_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.PrintMembers*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_PrintMembers_System_Text_StringBuilder_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.PrintMembers(System.Text.StringBuilder)">
PrintMembers(StringBuilder)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual bool PrintMembers(StringBuilder builder)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>builder</code> <span class="xref">StringBuilder</span></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_ToString_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.ToString*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_ToString" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.ToString">
ToString()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
</div>
<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>
</dl>
<h2 class="section" id="operators">Operators
</h2>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_op_Equality_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.op_Equality*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_op_Equality_EchoHub_Client_UI_Dialogs_SearchResult_EchoHub_Client_UI_Dialogs_SearchResult_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.op_Equality(EchoHub.Client.UI.Dialogs.SearchResult,EchoHub.Client.UI.Dialogs.SearchResult)">
operator ==(SearchResult?, SearchResult?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool operator ==(SearchResult? left, SearchResult? right)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>left</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
<dt><code>right</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_Dialogs_SearchResult_op_Inequality_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.op_Inequality*"></a>
<h3 id="EchoHub_Client_UI_Dialogs_SearchResult_op_Inequality_EchoHub_Client_UI_Dialogs_SearchResult_EchoHub_Client_UI_Dialogs_SearchResult_" data-uid="EchoHub.Client.UI.Dialogs.SearchResult.op_Inequality(EchoHub.Client.UI.Dialogs.SearchResult,EchoHub.Client.UI.Dialogs.SearchResult)">
operator !=(SearchResult?, SearchResult?)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool operator !=(SearchResult? left, SearchResult? right)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>left</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
<dt><code>right</code> <a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a></div></div>
</div>
</div>
</footer>
</body>
</html>
@@ -0,0 +1,153 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Enum SearchResultType | EchoHub Documentation </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Enum SearchResultType | EchoHub Documentation ">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_Dialogs_SearchResultType.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.Dialogs.SearchResultType%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="EchoHub.Client.UI.Dialogs.SearchResultType">
<h1 id="EchoHub_Client_UI_Dialogs_SearchResultType" data-uid="EchoHub.Client.UI.Dialogs.SearchResultType" class="text-break">
Enum SearchResultType <a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="EchoHub.html">EchoHub</a>.<a class="xref" href="EchoHub.Client.html">Client</a>.<a class="xref" href="EchoHub.Client.UI.html">UI</a>.<a class="xref" href="EchoHub.Client.UI.Dialogs.html">Dialogs</a></dd></dl>
<dl><dt>Assembly</dt><dd>EchoHub.Client.dll</dd></dl>
</div>
<div class="markdown summary"></div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public enum SearchResultType</code></pre>
</div>
<h2 id="fields">Fields
</h2>
<dl class="parameters">
<dt id="EchoHub_Client_UI_Dialogs_SearchResultType_Action"><code>Action = 1</code></dt>
<dd></dd>
<dt id="EchoHub_Client_UI_Dialogs_SearchResultType_Channel"><code>Channel = 0</code></dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/Dialogs/SearchDialog.cs" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a></div></div>
</div>
</div>
</footer>
</body>
</html>
+13
View File
@@ -133,6 +133,15 @@ Includes a saved servers selector when saved servers are available.</p>
Shows Edit Profile / Set Status buttons when viewing own profile.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.SearchDialog.html">SearchDialog</a></dt>
<dd><p>Command-palette style search dialog (Ctrl+K) for navigating channels and triggering app actions.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.StatusDialog.html">StatusDialog</a></dt>
<dd><p>A Terminal.Gui dialog for setting the user's status and status message.</p>
@@ -159,6 +168,10 @@ Enums
<dd><p>Action selected by the user in their own profile dialog.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResultType.html">SearchResultType</a></dt>
<dd></dd>
</dl>
</article>
@@ -0,0 +1,591 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class SearchListSource | EchoHub Documentation </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class SearchListSource | EchoHub Documentation ">
<meta name="description" content="List data source for the search dialog with filtering and colored rendering.">
<link rel="icon" href="../../images/hue_icon.svg">
<link rel="stylesheet" href="../../public/docfx.min.css">
<link rel="stylesheet" href="../../public/main.css">
<meta name="docfx:navrel" content="../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../">
<meta name="docfx:docurl" content="https://github.com/HueByte/EchoHub/new/master/apiSpec/new?filename=EchoHub_Client_UI_ListSources_SearchListSource.md&amp;value=---%0Auid%3A%20EchoHub.Client.UI.ListSources.SearchListSource%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../images/hue_icon.svg" alt="EchoHub">
EchoHub
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="EchoHub.Client.UI.ListSources.SearchListSource">
<h1 id="EchoHub_Client_UI_ListSources_SearchListSource" data-uid="EchoHub.Client.UI.ListSources.SearchListSource" class="text-break">
Class SearchListSource <a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="EchoHub.html">EchoHub</a>.<a class="xref" href="EchoHub.Client.html">Client</a>.<a class="xref" href="EchoHub.Client.UI.html">UI</a>.<a class="xref" href="EchoHub.Client.UI.ListSources.html">ListSources</a></dd></dl>
<dl><dt>Assembly</dt><dd>EchoHub.Client.dll</dd></dl>
</div>
<div class="markdown summary"><p>List data source for the search dialog with filtering and colored rendering.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class SearchListSource : IListDataSource, IDisposable</code></pre>
</div>
<dl class="typelist inheritance">
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><span class="xref">SearchListSource</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><span class="xref">IListDataSource</span></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
</div>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="EchoHub_Client_UI_ListSources_SearchListSource__ctor_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.#ctor*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource__ctor_System_Collections_Generic_List_EchoHub_Client_UI_Dialogs_SearchResult__" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.#ctor(System.Collections.Generic.List{EchoHub.Client.UI.Dialogs.SearchResult})">
SearchListSource(List&lt;SearchResult&gt;)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>List data source for the search dialog with filtering and colored rendering.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public SearchListSource(List&lt;SearchResult&gt; items)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>items</code> <span class="xref">List</span>&lt;<a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a>&gt;</dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_Count_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Count*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_Count" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Count">
Count
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_MaxItemLength_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.MaxItemLength*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_MaxItemLength" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.MaxItemLength">
MaxItemLength
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int MaxItemLength { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_SuspendCollectionChangedEvent_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.SuspendCollectionChangedEvent*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_SuspendCollectionChangedEvent" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.SuspendCollectionChangedEvent">
SuspendCollectionChangedEvent
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool SuspendCollectionChangedEvent { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_Dispose_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Dispose*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_Dispose" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Dispose">
Dispose()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
</div>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_Filter_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Filter*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_Filter_System_String_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Filter(System.String)">
Filter(string)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Filter(string query)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>query</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_GetItem_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.GetItem*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_GetItem_System_Int32_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.GetItem(System.Int32)">
GetItem(int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public SearchResult? GetItem(int index)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>index</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="EchoHub.Client.UI.Dialogs.SearchResult.html">SearchResult</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_IsMarked_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.IsMarked*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_IsMarked_System_Int32_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.IsMarked(System.Int32)">
IsMarked(int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool IsMarked(int item)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>item</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_Render_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Render*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_Render_Terminal_Gui_Views_ListView_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.Render(Terminal.Gui.Views.ListView,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
Render(ListView, bool, int, int, int, int, int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Render(ListView listView, bool selected, int item, int col, int row, int width, int viewportX = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>listView</code> <span class="xref">ListView</span></dt>
<dd></dd>
<dt><code>selected</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
<dt><code>item</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>col</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>row</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>width</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>viewportX</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_SetMark_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.SetMark*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_SetMark_System_Int32_System_Boolean_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.SetMark(System.Int32,System.Boolean)">
SetMark(int, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetMark(int item, bool value)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>item</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="EchoHub_Client_UI_ListSources_SearchListSource_ToList_" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.ToList*"></a>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_ToList" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.ToList">
ToList()
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IList ToList()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">IList</span></dt>
<dd></dd>
</dl>
<h2 class="section" id="events">Events
</h2>
<h3 id="EchoHub_Client_UI_ListSources_SearchListSource_CollectionChanged" data-uid="EchoHub.Client.UI.ListSources.SearchListSource.CollectionChanged">
CollectionChanged
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event NotifyCollectionChangedEventHandler? CollectionChanged</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><span class="xref">NotifyCollectionChangedEventHandler</span></dt>
<dd></dd>
</dl>
</article>
<div class="contribution d-print-none">
<a href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/ListSources/SearchListSource.cs" class="edit-link">Edit this page</a>
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<div class='footer-custom'><div class='footer-inner'><span class='footer-brand'>EchoHub</span><span class='footer-sep'>&middot;</span><a href='https://github.com/HueByte/EchoHub'>GitHub</a><span class='footer-sep'>&middot;</span><a href='https://echohub.voidcube.cloud'>Website</a></div></div>
</div>
</div>
</footer>
</body>
</html>
@@ -98,6 +98,11 @@ Classes
<dt><a class="xref" href="EchoHub.Client.UI.ListSources.ChannelListSource.html">ChannelListSource</a></dt>
<dd><p>Custom list data source for colored channel list rendering.
Active channel gets a &gt; indicator, unread channels are bright with a count badge.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="EchoHub.Client.UI.ListSources.SearchListSource.html">SearchListSource</a></dt>
<dd><p>List data source for the search dialog with filtering and colored rendering.</p>
</dd>
</dl>
<dl class="jumplist">
@@ -1630,6 +1630,37 @@ Call after theme changes to refresh colors.</p>
<h3 id="EchoHub_Client_UI_MainWindow_OnLoadMoreRequested" data-uid="EchoHub.Client.UI.MainWindow.OnLoadMoreRequested">
OnLoadMoreRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the user scrolls to the top of the message list and older messages should be loaded.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action? OnLoadMoreRequested</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_UI_MainWindow_OnLogoutRequested" data-uid="EchoHub.Client.UI.MainWindow.OnLogoutRequested">
OnLogoutRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
@@ -1785,6 +1816,37 @@ Call after theme changes to refresh colors.</p>
<h3 id="EchoHub_Client_UI_MainWindow_OnSearchRequested" data-uid="EchoHub.Client.UI.MainWindow.OnSearchRequested">
OnSearchRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
</h3>
<div class="markdown level1 summary"><p>Fired when the user requests to open the search dialog (via menu or Ctrl+K).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action? OnSearchRequested</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
<dd></dd>
</dl>
<h3 id="EchoHub_Client_UI_MainWindow_OnStatusRequested" data-uid="EchoHub.Client.UI.MainWindow.OnStatusRequested">
OnStatusRequested
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Client/UI/MainWindow.cs"><i class="bi bi-code-slash"></i></a>
@@ -312,7 +312,7 @@ Class ValidationConstants <a class="header-action link-secondary" title="View s
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const int MaxHistoryCount = 100</code></pre>
<pre><code class="lang-csharp hljs">public const int MaxHistoryCount = 200</code></pre>
</div>
@@ -198,8 +198,8 @@ Interface IChatService <a class="header-action link-secondary" title="View sour
<a id="EchoHub_Core_Contracts_IChatService_GetChannelHistoryAsync_" data-uid="EchoHub.Core.Contracts.IChatService.GetChannelHistoryAsync*"></a>
<h3 id="EchoHub_Core_Contracts_IChatService_GetChannelHistoryAsync_System_String_System_Int32_" data-uid="EchoHub.Core.Contracts.IChatService.GetChannelHistoryAsync(System.String,System.Int32)">
GetChannelHistoryAsync(string, int)
<h3 id="EchoHub_Core_Contracts_IChatService_GetChannelHistoryAsync_System_String_System_Int32_System_Int32_" data-uid="EchoHub.Core.Contracts.IChatService.GetChannelHistoryAsync(System.String,System.Int32,System.Int32)">
GetChannelHistoryAsync(string, int, int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Core/Contracts/IChatService.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -207,7 +207,7 @@ Interface IChatService <a class="header-action link-secondary" title="View sour
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;List&lt;MessageDto&gt;&gt; GetChannelHistoryAsync(string channelName, int count)</code></pre>
<pre><code class="lang-csharp hljs">Task&lt;List&lt;MessageDto&gt;&gt; GetChannelHistoryAsync(string channelName, int count, int offset = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -216,6 +216,8 @@ Interface IChatService <a class="header-action link-secondary" title="View sour
<dd></dd>
<dt><code>count</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>offset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
+5 -3
View File
@@ -200,8 +200,8 @@ public class ChatHub : Hub&lt;IEchoHubClient&gt;, IDisposable</code></pre>
<a id="EchoHub_Server_Hubs_ChatHub_GetChannelHistory_" data-uid="EchoHub.Server.Hubs.ChatHub.GetChannelHistory*"></a>
<h3 id="EchoHub_Server_Hubs_ChatHub_GetChannelHistory_System_String_System_Int32_" data-uid="EchoHub.Server.Hubs.ChatHub.GetChannelHistory(System.String,System.Int32)">
GetChannelHistory(string, int)
<h3 id="EchoHub_Server_Hubs_ChatHub_GetChannelHistory_System_String_System_Int32_System_Int32_" data-uid="EchoHub.Server.Hubs.ChatHub.GetChannelHistory(System.String,System.Int32,System.Int32)">
GetChannelHistory(string, int, int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server/Hubs/ChatHub.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -209,7 +209,7 @@ public class ChatHub : Hub&lt;IEchoHubClient&gt;, IDisposable</code></pre>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;MessageDto&gt;&gt; GetChannelHistory(string channelName, int count = 100)</code></pre>
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;MessageDto&gt;&gt; GetChannelHistory(string channelName, int count = 100, int offset = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -218,6 +218,8 @@ public class ChatHub : Hub&lt;IEchoHubClient&gt;, IDisposable</code></pre>
<dd></dd>
<dt><code>count</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>offset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
@@ -283,8 +283,8 @@ Class ChatService <a class="header-action link-secondary" title="View source" h
<a id="EchoHub_Server_Services_ChatService_GetChannelHistoryAsync_" data-uid="EchoHub.Server.Services.ChatService.GetChannelHistoryAsync*"></a>
<h3 id="EchoHub_Server_Services_ChatService_GetChannelHistoryAsync_System_String_System_Int32_" data-uid="EchoHub.Server.Services.ChatService.GetChannelHistoryAsync(System.String,System.Int32)">
GetChannelHistoryAsync(string, int)
<h3 id="EchoHub_Server_Services_ChatService_GetChannelHistoryAsync_System_String_System_Int32_System_Int32_" data-uid="EchoHub.Server.Services.ChatService.GetChannelHistoryAsync(System.String,System.Int32,System.Int32)">
GetChannelHistoryAsync(string, int, int)
<a class="header-action link-secondary" title="View source" href="https://github.com/HueByte/EchoHub/blob/master/src/EchoHub.Server/Services/ChatService.cs"><i class="bi bi-code-slash"></i></a>
</h3>
@@ -292,7 +292,7 @@ Class ChatService <a class="header-action link-secondary" title="View source" h
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;MessageDto&gt;&gt; GetChannelHistoryAsync(string channelName, int count)</code></pre>
<pre><code class="lang-csharp hljs">public Task&lt;List&lt;MessageDto&gt;&gt; GetChannelHistoryAsync(string channelName, int count, int offset = 0)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -301,6 +301,8 @@ Class ChatService <a class="header-action link-secondary" title="View source" h
<dd></dd>
<dt><code>count</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
<dt><code>offset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
+12
View File
@@ -184,6 +184,15 @@
<li>
<a href="client/EchoHub.Client.UI.Dialogs.ProfileViewDialog.html" name="" title="ProfileViewDialog">ProfileViewDialog</a>
</li>
<li>
<a href="client/EchoHub.Client.UI.Dialogs.SearchDialog.html" name="" title="SearchDialog">SearchDialog</a>
</li>
<li>
<a href="client/EchoHub.Client.UI.Dialogs.SearchResult.html" name="" title="SearchResult">SearchResult</a>
</li>
<li>
<a href="client/EchoHub.Client.UI.Dialogs.SearchResultType.html" name="" title="SearchResultType">SearchResultType</a>
</li>
<li>
<a href="client/EchoHub.Client.UI.Dialogs.StatusDialog.html" name="" title="StatusDialog">StatusDialog</a>
</li>
@@ -219,6 +228,9 @@
<li>
<a href="client/EchoHub.Client.UI.ListSources.ChannelListSource.html" name="" title="ChannelListSource">ChannelListSource</a>
</li>
<li>
<a href="client/EchoHub.Client.UI.ListSources.SearchListSource.html" name="" title="SearchListSource">SearchListSource</a>
</li>
<li>
<a href="client/EchoHub.Client.UI.ListSources.UserListSource.html" name="" title="UserListSource">UserListSource</a>
</li>
+1 -1
View File
File diff suppressed because one or more lines are too long