public BigramHistogramReportService(ICleaningService cleaningService, IParsingService parsingService, IBigramService bigramService, IHistogramService histogramService)
 {
     _cleaningService  = cleaningService;
     _parsingService   = parsingService;
     _bigramService    = bigramService;
     _histogramService = histogramService;
 }
 public Application(
     IStatisticsService statisticsService,
     IHistogramService histogramService)
 {
     _statisticsService = statisticsService;
     histogramService.IntervalLength         = 0.0125;
     StatisticsComparisonHelper.Service      = _statisticsService;
     HistogramComparisonHelper.Service       = histogramService;
     HistogramComparisonHelper.HistogramPath = ConfigurationManager.AppSettings["StatisticsOutputPath"];
 }
Esempio n. 3
0
 public Application(
     IStatisticsService statisticsService,
     IHistogramService histogramService)
 {
     _statisticsService = statisticsService;
     histogramService.IntervalLength = 0.0125;
     StatisticsComparisonHelper.Service = _statisticsService;
     HistogramComparisonHelper.Service = histogramService;
     HistogramComparisonHelper.HistogramPath = ConfigurationManager.AppSettings["StatisticsOutputPath"];
 }
 public HistogramPresenter(
     IHistogramService service)
 {
     _service = service;
 }
 public HistogramServiceUnitTest()
 {
     _histogramService = new HistogramService();
     _parsingService   = new ParsingService();
 }