Definition at line 143 of file Example.cs.
◆ GetFormatStylesOrDefault()
static IEnumerable< UnParserSettings > CommandLine.Text.ExampleExtensions.GetFormatStylesOrDefault |
( |
this Example |
example | ) |
|
|
static |
Definition at line 145 of file Example.cs.
146 {
147 return example.FormatStyles.Any()
148 ? example.FormatStyles
149 : new[] { new UnParserSettings { Consumed = true } };
150 }
The documentation for this class was generated from the following file:
- deps/commandlineparser/src/CommandLine/Text/Example.cs