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