Ejemplo n.º 1
0
        public SummaryConsole(
            ILogger <SummaryConsole> logger,
            DirectoryStructureOutputSummary dataSource,
            IOptions <IngestOptions> options)
        {
            this.logger = logger;

            this.dataSource = dataSource;

            this.localDataPath = options.Value.LocalDataPath;

            this.outputSummaryFileName = options.Value.OutputSummaryFileName;
        }
Ejemplo n.º 2
0
        public GenerateJsonOutput(
            ILogger <GenerateJsonOutput> logger,
            DirectoryStructureOutputSummary dataSource,
            IOptions <IngestOptions> options,
            AmountByPublicationSetForEachMpProjection projection)
        {
            this.logger = logger;

            this.dataSource = dataSource;

            this.projection = projection;

            this.localDataPath = options.Value.LocalDataPath;

            this.outputSummaryFileName = options.Value.OutputSummaryFileName;

            this.outputJsonPath = options.Value.OutputJsonPath;
        }