Definition at line 35 of file Options.cs.
◆ Bytes
uint? ReadText.LocalizedDemo.HeadOptions.Bytes |
|
getset |
◆ Examples
IEnumerable<Example> ReadText.LocalizedDemo.HeadOptions.Examples |
|
staticget |
Definition at line 46 of file Options.cs.
47 {
48 get
49 {
50 yield
return new Example(Properties.Resources.ExamplesNormalScenario,
new HeadOptions { FileName =
"file.bin"});
51 yield
return new Example(Properties.Resources.ExamplesSpecifyBytes,
new HeadOptions { FileName =
"file.bin", Bytes=100 });
53 yield
return new Example(Properties.Resources.ExamplesReadMoreLines,
new[] { UnParserSettings.WithGroupSwitchesOnly(), UnParserSettings.WithUseEqualTokenOnly() },
new HeadOptions { FileName =
"file.bin", Lines = 10 });
54 }
55 }
Models a command line usage example.
Provides settings for when formatting command line from an options instance../>.
static UnParserSettings WithGroupSwitchesOnly()
Factory method that creates an instance of CommandLine.UnParserSettings with GroupSwitches set to tru...
◆ FileName
string ReadText.LocalizedDemo.HeadOptions.FileName |
|
getset |
◆ Lines
uint? ReadText.LocalizedDemo.HeadOptions.Lines |
|
getset |
◆ Quiet
bool ReadText.LocalizedDemo.HeadOptions.Quiet |
|
getset |
The documentation for this class was generated from the following file:
- deps/commandlineparser/demo/ReadText.LocalizedDemo/Options.cs