Esempio n. 1
0
 public DatabaseUpdater(DatabaseContext dbContext, ILogger <DatabaseUpdater> logger, FlatDataImporter importer,
                        ISchedulerFactory schedulerFactory, IConfiguration config)
 {
     _dbContext        = dbContext;
     _logger           = logger;
     _importer         = importer;
     _schedulerFactory = schedulerFactory;
     _providerConfigs  = config.GetSection("standardSources").Get <List <StandardProviderConfiguration> >();
 }
Esempio n. 2
0
 public DatabaseUpdater(DatabaseContext dbContext, IScheduler scheduler, ILogger <DatabaseUpdater> logger, FlatDataImporter importer)
 {
     _dbContext = dbContext;
     _logger    = logger;
     _importer  = importer;
 }