Exemplo n.º 1
0
 public DefaultDbImporter(
     EdsmDbContext dbContext,
     ILogger <DefaultDbImporter> logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
Exemplo n.º 2
0
 public DefaultDbImporter(
     IDataReader <CelestialBody> bodyDataReader,
     IDataReader <EdSystem> edSystemDataReader,
     EdsmDbContext dbContext,
     ILogger <DefaultDbImporter> logger,
     CmdOptions cmdOptions,
     IImportActionFactory importActionFactory)
 {
     _bodyDataReader      = bodyDataReader;
     _dbContext           = dbContext;
     _edSystemDataReader  = edSystemDataReader;
     _cmdOptions          = cmdOptions;
     _importActionFactory = importActionFactory;
     _logger = logger;
 }