public HtmlSourceFileReport(
     ISummaryFactory summaryFactory,
     IFileSystem fileSystem)
 {
     _summaryFactory = summaryFactory;
     _fileSystem     = fileSystem;
 }
Beispiel #2
0
 public ConsoleReport(
     IHitsReader hitsReader,
     ISummaryFactory summaryFactory)
 {
     _hitsReader     = hitsReader;
     _summaryFactory = summaryFactory;
 }
 public TaxonomySummaryFactory(ISummaryFactory <IChapter, ChapterSummary> chapterSummaryFactory,
                               ISummaryFactory <ISection, SectionSummary> sectionSummaryFactory,
                               ISummaryFactory <ISubsection, SubsectionSummary> subsectionSummaryFactory)
 {
     _chapterSummaryFactory    = chapterSummaryFactory;
     _sectionSummaryFactory    = sectionSummaryFactory;
     _subsectionSummaryFactory = subsectionSummaryFactory;
 }
Beispiel #4
0
 public HtmlReport(
     IHitsReader hitsReader,
     ISummaryFactory summaryFactory,
     IHtmlSourceFileReport htmlSourceFileReport,
     IFileSystem fileSystem)
 {
     _hitsReader           = hitsReader;
     _summaryFactory       = summaryFactory;
     _htmlSourceFileReport = htmlSourceFileReport;
     _fileSystem           = fileSystem;
 }
Beispiel #5
0
        public TaxonomyQuery(IStaticDataQueryWithSummary <IChapter, ChapterSummary> chapters,
                             IStaticDataQueryWithSummary <ISection, SectionSummary> sections,
                             IStaticDataQueryWithSummary <ISubsection, SubsectionSummary> subSections,
                             ISummaryFactory <ISubsection, TaxonomySummary> taxonomySummaryFactory)
        {
            Chapters                = chapters;
            Sections                = sections;
            Subsections             = subSections;
            _taxonomySummaryFactory = taxonomySummaryFactory;
            _taxonomySummaries      = new Lazy <Dictionary <int, TaxonomySummary> >(() => InitTaxonomy());

            // Force init
            _taxonomySummaries.Value.Count();
        }
 public StaticDataEF(TDbContext dbContext, ISummaryFactory <TReadOnly, TSummary> summaryFactory)
 {
     _dbContext        = dbContext;
     _summaryFactory   = summaryFactory;
     _thingCollections = new Lazy <ThingCollections>(Initialize);
 }
 public SummaryController(ISummaryFactory <Summary> summaryFactory)
 {
     _summaryFactory = summaryFactory;
 }