コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommandLine.Parser"/> class.
 /// </summary>
 public Parser()
 {
     settings = new ParserSettings {
         Consumed = true
     };
 }
コード例 #2
0
 internal Parser(ParserSettings settings)
 {
     this.settings          = settings;
     this.settings.Consumed = true;
 }
コード例 #3
0
 private static ParserResult <T> MakeParserResult <T>(ParserResult <T> parserResult, ParserSettings settings)
 {
     return(DisplayHelp(
                parserResult,
                settings.HelpWriter,
                settings.MaximumDisplayWidth));
 }