Archived
deploy webservice static-file routing for docsite folder URLs, per-instance step-cache db, and constant-height panel title bars.
This commit is contained in:
@@ -102,7 +102,10 @@ Class ListCommand
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class ListCommand : ITitleCommand, ISessionCommand, IMakeXmlSource</code></pre>
|
||||
<pre><code class="lang-csharp hljs">[CultureText("zh-Hant", "清單")]
|
||||
[CultureText("zh-Hans", "列表")]
|
||||
[CommandCatalog(CommandCategory.Flow, Order = 0)]
|
||||
public class ListCommand : ITitleCommand, ISessionCommand, IMakeXmlSource</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -215,8 +218,8 @@ Class ListCommand
|
||||
|
||||
<a id="Hi_SessionCommands_ListCommand__ctor_" data-uid="Hi.SessionCommands.ListCommand.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_SessionCommands_ListCommand__ctor_System_Xml_Linq_XElement_System_String_System_String_System_IProgress_System_Object__System_Object___" data-uid="Hi.SessionCommands.ListCommand.#ctor(System.Xml.Linq.XElement,System.String,System.String,System.IProgress{System.Object},System.Object[])">
|
||||
ListCommand(XElement, string, string, IProgress<object>, object[])
|
||||
<h3 id="Hi_SessionCommands_ListCommand__ctor_System_Xml_Linq_XElement_System_String_System_String_System_IProgress_Hi_Common_Messages_IMessage__System_Object___" data-uid="Hi.SessionCommands.ListCommand.#ctor(System.Xml.Linq.XElement,System.String,System.String,System.IProgress{Hi.Common.Messages.IMessage},System.Object[])">
|
||||
ListCommand(XElement, string, string, IProgress<IMessage>, object[])
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -225,7 +228,7 @@ Class ListCommand
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ListCommand(XElement src, string baseDirectory, string relFile, IProgress<object> progress, object[] res)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public ListCommand(XElement src, string baseDirectory, string relFile, IProgress<IMessage> progress, object[] res)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -239,7 +242,7 @@ Class ListCommand
|
||||
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>Relative file path.</p>
|
||||
</dd>
|
||||
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>></dt>
|
||||
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="Hi.Common.Messages.IMessage.html">IMessage</a>></dt>
|
||||
<dd><p>Progress reporter for nested command XML.</p>
|
||||
</dd>
|
||||
<dt><code>res</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[]</dt>
|
||||
@@ -258,6 +261,45 @@ Class ListCommand
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="fields">Fields
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
<h3 id="Hi_SessionCommands_ListCommand_ConstDisplayName" data-uid="Hi.SessionCommands.ListCommand.ConstDisplayName">
|
||||
ConstDisplayName
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>The command's own name — the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.displaynameattribute">DisplayNameAttribute</a> value AND
|
||||
the localization key (Blazor reads it through
|
||||
<code>GetSelectionName()</code>, the web catalog through the same attribute).
|
||||
Not “Command List”: every row that can hold one of these is already a
|
||||
command, so the word carries nothing and costs tree width.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public const string ConstDisplayName = "List"</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Field Value</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="properties">Properties
|
||||
</h2>
|
||||
|
||||
@@ -295,6 +337,40 @@ The item in list is null capable.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_SessionCommands_ListCommand_Title_" data-uid="Hi.SessionCommands.ListCommand.Title*"></a>
|
||||
|
||||
<h3 id="Hi_SessionCommands_ListCommand_Title" data-uid="Hi.SessionCommands.ListCommand.Title">
|
||||
Title
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Optional display title. GUI lists show it as the DETAIL after the
|
||||
localized type name when non-empty (see <a class="xref" href="Hi.SessionCommands.ListCommand.html#Hi_SessionCommands_ListCommand_GetCommandTitle_Hi_Common_ICommandTextSource_">GetCommandTitle(ICommandTextSource)</a>) —
|
||||
a titled list must still read as a list.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public string Title { 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.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_SessionCommands_ListCommand_XName_" data-uid="Hi.SessionCommands.ListCommand.XName*"></a>
|
||||
|
||||
<h3 id="Hi_SessionCommands_ListCommand_XName" data-uid="Hi.SessionCommands.ListCommand.XName">
|
||||
@@ -333,19 +409,36 @@ The item in list is null capable.</p>
|
||||
|
||||
<a id="Hi_SessionCommands_ListCommand_GetCommandTitle_" data-uid="Hi.SessionCommands.ListCommand.GetCommandTitle*"></a>
|
||||
|
||||
<h3 id="Hi_SessionCommands_ListCommand_GetCommandTitle" data-uid="Hi.SessionCommands.ListCommand.GetCommandTitle">
|
||||
GetCommandTitle()
|
||||
<h3 id="Hi_SessionCommands_ListCommand_GetCommandTitle_Hi_Common_ICommandTextSource_" data-uid="Hi.SessionCommands.ListCommand.GetCommandTitle(Hi.Common.ICommandTextSource)">
|
||||
GetCommandTitle(ICommandTextSource)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets the title of the command.</p>
|
||||
<div class="markdown level1 summary"><p>Gets the title of the command — one row in a command list or a
|
||||
mission tree — composed from the caller's vocabulary: the command owns
|
||||
the composition and degradation rules, the caller owns the language.</p>
|
||||
<p>
|
||||
The shape is <code>Name</code>, or <code>Name [detail]</code> once there is a
|
||||
detail worth showing. The NAME always leads and is never dropped:
|
||||
a row must say WHAT it is even when the detail is a title the user
|
||||
wrote, otherwise a newcomer cannot tell a command list from a
|
||||
script. The detail trails because these rows truncate from the
|
||||
right. An empty detail takes the bare-name form rather than
|
||||
rendering dangling brackets.
|
||||
</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public string GetCommandTitle()</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public string GetCommandTitle(ICommandTextSource text)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>text</code> <a class="xref" href="Hi.Common.ICommandTextSource.html">ICommandTextSource</a></dt>
|
||||
<dd><p>Culture-bearing vocabulary the static words are taken from.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
|
||||
Reference in New Issue
Block a user