Exemple #1
0
 public HelpController(
     HelpForArgumentWithOptions helpForArgumentWithOptions, 
     HelpForClassAndMethod helpForClassAndMethod)
 {
     this.helpForArgumentWithOptions = helpForArgumentWithOptions;
     this.helpForClassAndMethod = helpForClassAndMethod;
 }
Exemple #2
0
 public ArgumentParserBuilder RecognizeHelp()
 {
     if (_helpController==null)
     {
         _helpForClassAndMethod = new HelpForClassAndMethod(_classAndMethodRecognizers, container);
         _helpForArgumentWithOptions = new HelpForArgumentWithOptions(_argumentRecognizers);
         _helpController = new HelpController(_helpForArgumentWithOptions, _helpForClassAndMethod);
         Recognize(_helpController);
     }
     return this;
 }