public FileProcessor( string fileName, IJournalMeta journalMeta, IDocumentFactory documentFactory, IXmlFileContentDataService fileManager, IArticleMetaHarvester articleMetaHarvester, IModelFactory modelFactory, ILogger logger) { this.FileName = fileName; this.journalMeta = journalMeta ?? throw new ArgumentNullException(nameof(journalMeta)); this.documentFactory = documentFactory ?? throw new ArgumentNullException(nameof(documentFactory)); this.fileManager = fileManager ?? throw new ArgumentNullException(nameof(fileManager)); this.articleMetaHarvester = articleMetaHarvester ?? throw new ArgumentNullException(nameof(articleMetaHarvester)); this.modelFactory = modelFactory ?? throw new ArgumentNullException(nameof(modelFactory)); this.logger = logger; }
public DocumentWriter(IXmlFileContentDataService filesManager) { this.filesManager = filesManager ?? throw new ArgumentNullException(nameof(filesManager)); }
public DocumentReader(IDocumentFactory documentFactory, IXmlFileContentDataService filesManager) { this.documentFactory = documentFactory ?? throw new ArgumentNullException(nameof(documentFactory)); this.filesManager = filesManager ?? throw new ArgumentNullException(nameof(filesManager)); }