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 NcOptOptionCommand
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class NcOptOptionCommand : ITitleCommand, ISessionCommand, IMakeXmlSource</code></pre>
|
||||
<pre><code class="lang-csharp hljs">[CultureText("zh-Hant", "NC優化設定")]
|
||||
[CultureText("zh-Hans", "NC优化设定")]
|
||||
[CommandCatalog(CommandCategory.Optimization, Order = 0)]
|
||||
public class NcOptOptionCommand : ITitleCommand, ISessionCommand, IMakeXmlSource</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -215,8 +218,8 @@ Class NcOptOptionCommand
|
||||
|
||||
<a id="Hi_SessionCommands_NcOptOptionCommand__ctor_" data-uid="Hi.SessionCommands.NcOptOptionCommand.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_SessionCommands_NcOptOptionCommand__ctor_System_Xml_Linq_XElement_System_String_System_String_System_IProgress_System_Object__System_Object___" data-uid="Hi.SessionCommands.NcOptOptionCommand.#ctor(System.Xml.Linq.XElement,System.String,System.String,System.IProgress{System.Object},System.Object[])">
|
||||
NcOptOptionCommand(XElement, string, string, IProgress<object>, object[])
|
||||
<h3 id="Hi_SessionCommands_NcOptOptionCommand__ctor_System_Xml_Linq_XElement_System_String_System_String_System_IProgress_Hi_Common_Messages_IMessage__System_Object___" data-uid="Hi.SessionCommands.NcOptOptionCommand.#ctor(System.Xml.Linq.XElement,System.String,System.String,System.IProgress{Hi.Common.Messages.IMessage},System.Object[])">
|
||||
NcOptOptionCommand(XElement, string, string, IProgress<IMessage>, object[])
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -225,7 +228,7 @@ Class NcOptOptionCommand
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public NcOptOptionCommand(XElement src, string baseDirectory, string relFile, IProgress<object> progress, object[] res)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public NcOptOptionCommand(XElement src, string baseDirectory, string relFile, IProgress<IMessage> progress, object[] res)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -239,7 +242,7 @@ Class NcOptOptionCommand
|
||||
<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 option XML.</p>
|
||||
</dd>
|
||||
<dt><code>res</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[]</dt>
|
||||
@@ -332,19 +335,36 @@ Class NcOptOptionCommand
|
||||
|
||||
<a id="Hi_SessionCommands_NcOptOptionCommand_GetCommandTitle_" data-uid="Hi.SessionCommands.NcOptOptionCommand.GetCommandTitle*"></a>
|
||||
|
||||
<h3 id="Hi_SessionCommands_NcOptOptionCommand_GetCommandTitle" data-uid="Hi.SessionCommands.NcOptOptionCommand.GetCommandTitle">
|
||||
GetCommandTitle()
|
||||
<h3 id="Hi_SessionCommands_NcOptOptionCommand_GetCommandTitle_Hi_Common_ICommandTextSource_" data-uid="Hi.SessionCommands.NcOptOptionCommand.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