![]() |
BadScript 2
|
Provides settings for when formatting command line from an options instance../>. More...
Static Public Member Functions | |
| static UnParserSettings | WithGroupSwitchesOnly () |
| Factory method that creates an instance of CommandLine.UnParserSettings with GroupSwitches set to true. | |
| static UnParserSettings | WithUseEqualTokenOnly () |
| Factory method that creates an instance of CommandLine.UnParserSettings with UseEqualToken set to true. | |
Properties | |
| bool | PreferShortName [get, set] |
| Gets or sets a value indicating whether unparsing process shall prefer short or long names. | |
| bool | GroupSwitches [get, set] |
| Gets or sets a value indicating whether unparsing process shall group switches. | |
| bool | UseEqualToken [get, set] |
| Gets or sets a value indicating whether unparsing process shall use equal sign with long names. | |
| bool | ShowHidden [get, set] |
| Gets or sets a value indicating whether unparsing process shall expose hidden options. | |
| bool | SkipDefault [get, set] |
| Gets or sets a value indicating whether unparsing process shall skip options with DefaultValue. | |
| bool | Consumed [get, set] |
Private Attributes | |
| bool | groupSwitches |
| bool | preferShortName |
| bool | showHidden |
| bool | skipDefault |
| bool | useEqualToken |
Provides settings for when formatting command line from an options instance../>.
Definition at line 18 of file UnParserExtensions.cs.
|
static |
Factory method that creates an instance of CommandLine.UnParserSettings with GroupSwitches set to true.
Definition at line 78 of file UnParserExtensions.cs.
|
static |
Factory method that creates an instance of CommandLine.UnParserSettings with UseEqualToken set to true.
Definition at line 88 of file UnParserExtensions.cs.
|
private |
Definition at line 20 of file UnParserExtensions.cs.
|
private |
Definition at line 21 of file UnParserExtensions.cs.
|
private |
Definition at line 22 of file UnParserExtensions.cs.
|
private |
Definition at line 23 of file UnParserExtensions.cs.
|
private |
Definition at line 24 of file UnParserExtensions.cs.
|
getsetpackage |
Definition at line 71 of file UnParserExtensions.cs.
|
getset |
Gets or sets a value indicating whether unparsing process shall group switches.
Definition at line 38 of file UnParserExtensions.cs.
|
getset |
Gets or sets a value indicating whether unparsing process shall prefer short or long names.
Definition at line 29 of file UnParserExtensions.cs.
|
getset |
Gets or sets a value indicating whether unparsing process shall expose hidden options.
Definition at line 56 of file UnParserExtensions.cs.
|
getset |
Gets or sets a value indicating whether unparsing process shall skip options with DefaultValue.
Definition at line 65 of file UnParserExtensions.cs.
|
getset |
Gets or sets a value indicating whether unparsing process shall use equal sign with long names.
Definition at line 47 of file UnParserExtensions.cs.