Skip to content

Commit

Permalink
deploy: 5a802ae
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed Nov 13, 2024
1 parent dbdc3c1 commit bab43c6
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 21 deletions.
93 changes: 89 additions & 4 deletions api/WeihanLi.Common.Helpers.CommandLineParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,51 @@ <h2 class="section" id="methods">Methods
</h2>


<a id="WeihanLi_Common_Helpers_CommandLineParser_BooleanVal_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.BooleanVal*"></a>

<h3 id="WeihanLi_Common_Helpers_CommandLineParser_BooleanVal_System_String_System_Boolean_System_String___" data-uid="WeihanLi.Common.Helpers.CommandLineParser.BooleanVal(System.String,System.Boolean,System.String[])">
BooleanVal(string, bool, string[]?)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L136"><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 BooleanVal(string optionName, bool defaultValue = false, string[]? args = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>optionName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>defaultValue</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
<dt><code>args</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</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="WeihanLi_Common_Helpers_CommandLineParser_BooleanVal_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.BooleanVal*"></a>

<h3 id="WeihanLi_Common_Helpers_CommandLineParser_BooleanVal_System_String_System_String___System_Boolean_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.BooleanVal(System.String,System.String[],System.Boolean)">
BooleanVal(string, string[]?, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L116"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L131"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -192,7 +232,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_CommandLineParser_BooleanVal_System_String___System_String_System_Boolean_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.BooleanVal(System.String[],System.String,System.Boolean)">
BooleanVal(string[], string, bool)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L121"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L141"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -266,11 +306,56 @@ <h4 class="section">Returns</h4>



<a id="WeihanLi_Common_Helpers_CommandLineParser_Val_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.Val*"></a>

<h3 id="WeihanLi_Common_Helpers_CommandLineParser_Val_System_String_System_String_System_String___" data-uid="WeihanLi.Common.Helpers.CommandLineParser.Val(System.String,System.String,System.String[])">
Val(string, string?, string[]?)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L112"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Get argument value from arguments</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string? Val(string optionName, string? defaultValue, string[]? args = null)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>optionName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>argument name to get value</p>
</dd>
<dt><code>defaultValue</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>default argument value when not found</p>
</dd>
<dt><code>args</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</dt>
<dd><p>arguments</p>
</dd>
</dl>

<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><p>argument value</p>
</dd>
</dl>











<a id="WeihanLi_Common_Helpers_CommandLineParser_Val_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.Val*"></a>

<h3 id="WeihanLi_Common_Helpers_CommandLineParser_Val_System_String_System_String___System_String_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.Val(System.String,System.String[],System.String)">
Val(string, string[]?, string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L98"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L99"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Get argument value from arguments</p>
Expand Down Expand Up @@ -315,7 +400,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_CommandLineParser_Val_System_String___System_String_System_String_" data-uid="WeihanLi.Common.Helpers.CommandLineParser.Val(System.String[],System.String,System.String)">
Val(string[], string, string?)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L111"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L125"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Get argument value from arguments</p>
Expand Down
24 changes: 12 additions & 12 deletions api/WeihanLi.Common.Helpers.ConcurrentSet-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h2 class="section" id="properties">Properties

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Count" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.Count">
Count
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L12"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L13"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -399,7 +399,7 @@ <h4 class="section">Property Value</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_IsEmpty" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.IsEmpty">
IsEmpty
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L10"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L11"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -430,7 +430,7 @@ <h4 class="section">Property Value</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_IsReadOnly" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.IsReadOnly">
IsReadOnly
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L14"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L15"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -465,7 +465,7 @@ <h2 class="section" id="methods">Methods

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Add__0_" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.Add(`0)">
Add(T)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L36"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L37"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -496,7 +496,7 @@ <h4 class="section">Parameters</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Clear" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.Clear">
Clear()
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L24"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L25"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand All @@ -522,7 +522,7 @@ <h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Clear" data-uid="WeihanLi.Common

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Contains__0_" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.Contains(`0)">
Contains(T)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L16"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L17"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -558,7 +558,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_CopyTo__0___System_Int32_" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.CopyTo(`0[],System.Int32)">
CopyTo(T[], int)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L41"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L42"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -591,7 +591,7 @@ <h4 class="section">Parameters</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_GetEnumerator" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.GetEnumerator">
GetEnumerator()
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L26"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L27"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -622,7 +622,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Remove__0_" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.Remove(`0)">
Remove(T)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L46"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L47"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -658,7 +658,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_TryAdd__0_" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.TryAdd(`0)">
TryAdd(T)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L18"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L19"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -694,7 +694,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_TryRemove__0_" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.TryRemove(`0)">
TryRemove(T)
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L20"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L21"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -730,7 +730,7 @@ <h4 class="section">Returns</h4>

<h3 id="WeihanLi_Common_Helpers_ConcurrentSet_1_Values" data-uid="WeihanLi.Common.Helpers.ConcurrentSet`1.Values">
Values()
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L22"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/ConcurrentSet.cs/#L23"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down
10 changes: 5 additions & 5 deletions api/WeihanLi.Common.Helpers.LineParseOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>


<h1 id="WeihanLi_Common_Helpers_LineParseOptions" data-uid="WeihanLi.Common.Helpers.LineParseOptions" class="text-break">
Class LineParseOptions <a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L153"><i class="bi bi-code-slash"></i></a>
Class LineParseOptions <a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L173"><i class="bi bi-code-slash"></i></a>
</h1>

<div class="facts text-secondary">
Expand Down Expand Up @@ -264,7 +264,7 @@ <h2 class="section" id="properties">Properties

<h3 id="WeihanLi_Common_Helpers_LineParseOptions_Quote" data-uid="WeihanLi.Common.Helpers.LineParseOptions.Quote">
Quote
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L156"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L176"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -295,7 +295,7 @@ <h4 class="section">Property Value</h4>

<h3 id="WeihanLi_Common_Helpers_LineParseOptions_RemoveEmptyToken" data-uid="WeihanLi.Common.Helpers.LineParseOptions.RemoveEmptyToken">
RemoveEmptyToken
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L157"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L177"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -326,7 +326,7 @@ <h4 class="section">Property Value</h4>

<h3 id="WeihanLi_Common_Helpers_LineParseOptions_Separator" data-uid="WeihanLi.Common.Helpers.LineParseOptions.Separator">
Separator
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L155"><i class="bi bi-code-slash"></i></a>
<a class="header-action link-secondary" title="View source" href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L175"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"></div>
Expand Down Expand Up @@ -357,7 +357,7 @@ <h4 class="section">Property Value</h4>
</article>

<div class="contribution d-print-none">
<a href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L153" class="edit-link">Edit this page</a>
<a href="https://github.com/WeihanLi/WeihanLi.Common/blob/master/src/WeihanLi.Common/Helpers/CommandLineParser.cs/#L173" class="edit-link">Edit this page</a>
</div>


Expand Down
Loading

0 comments on commit bab43c6

Please sign in to comment.