예제 #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));
 }