public Importer(BioContext dbContext, ILogger <Importer> logger, FilesUploader filesUploader,
                 PropertiesProvider propertiesProvider, HtmlParser htmlParser,
                 LinkGenerator linkGenerator, IOptions <ImporterOptions> options)
 {
     _dbContext          = dbContext;
     _logger             = logger;
     _filesUploader      = filesUploader;
     _propertiesProvider = propertiesProvider;
     _htmlParser         = htmlParser;
     _linkGenerator      = linkGenerator;
     _options            = options.Value;
 }
Exemple #2
0
 public HtmlParser(FilesUploader filesUploader, ILogger <HtmlParser> logger)
 {
     _filesUploader = filesUploader;
     _logger        = logger;
 }