示例#1
0
文件: Help.cs 项目: 2hdddg/isop
 public HelpController(
     HelpForArgumentWithOptions helpForArgumentWithOptions, 
     HelpForClassAndMethod helpForClassAndMethod)
 {
     this.helpForArgumentWithOptions = helpForArgumentWithOptions;
     this.helpForClassAndMethod = helpForClassAndMethod;
 }
示例#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;
 }