Пример #1
0
 public WindowsService()
 {
     InitializeComponent();
     var source = new Source();
     var destination = new Destination(ConfigurationManager.AppSettings["ArbServiceBaseAddress"]);
     var log = new Log();
     var integrator = new Integrator(source, destination, log);
     _scheduler = new IntegratorScheduler(integrator);
 }
 public IntegratorScheduler(Integrator integrator)
 {
     _integrator = integrator;
 }