public UOWExecutionHandler(UOWExecutionScopePrimer dependencyInjectionScopePrimer,
                            UOWConfigurator configurator,
                            UOWApplication application)
 {
     this.dependencyInjectionScopePrimer = dependencyInjectionScopePrimer;
     this.configurator = configurator;
     this.application  = application;
 }
 public ExecutorService(UnitOfWorkResolver unitOfWorkFromAssemblyPrimer,
                        UOWExecutionHandler executionHandler,
                        UOWScheduleFactory scheduleFactory,
                        UOWConfigurator configurator,
                        UOWApplication application,
                        IServiceProvider serviceProvider)
 {
     this.unitOfWorkFromAssemblyPrimer = unitOfWorkFromAssemblyPrimer;
     this.executionHandler             = executionHandler;
     this.scheduleFactory  = scheduleFactory;
     this.configurator     = configurator;
     this.application      = application;
     this.serviceProvider  = serviceProvider;
     this.unitOfWorkTimers = new Dictionary <System.Timers.Timer, UnitOfWork>();
 }