Esempio n. 1
0
 public DataPumpService(IEnumerable <IDataPumperSource> sources,
                        IEnumerable <IDataPumperTarget> targets,
                        DataPumper.Core.DataPumper pumper,
                        DataPumperContext context,
                        ILogger <DataPumpService> logger)
 {
     _pumper  = pumper;
     _context = context;
     _logger  = logger;
     Sources  = sources;
     Targets  = targets;
 }
 public DataPumperService(DataPumperConfiguration configuration)
 {
     _pumper        = new NDataPumper.DataPumper();
     _configuration = configuration;
     LogsSender     = new SmtpSender(configuration);
 }