Exemplo 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;
 }
Exemplo n.º 2
0
 public DataPumperService(DataPumperConfiguration configuration)
 {
     _pumper        = new NDataPumper.DataPumper();
     _configuration = configuration;
     LogsSender     = new SmtpSender(configuration);
 }