示例#1
0
 public ConsoleApp(
     IFileService fileService,
     IStringCleanerService stringCleanerService,
     IPorterStemmingService porterStemmingService,
     IWordOccurrenceService wordOccurrenceService,
     IStopWordService stopWordService
     )
 {
     this.fileService           = fileService;
     this.stringCleanerService  = stringCleanerService;
     this.porterStemmingService = porterStemmingService;
     this.wordOccurrenceService = wordOccurrenceService;
     this.stopWordService       = stopWordService;
 }
 public FileService(
     IStringCleanerService stringCleanerService
     )
 {
     this.stringCleanerService = stringCleanerService;
 }