Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public HtmlParser(FilesUploader filesUploader, ILogger <HtmlParser> logger)
 {
     _filesUploader = filesUploader;
     _logger        = logger;
 }