Example #1
0
 public QuartzScheduler(
     ILog logger,
     AM.Scheduler.Data.Repository.Repository repository)
 {
     this.c_stdSchedulerFactory = new StdSchedulerFactory();
     this.c_logger     = logger;
     this.c_repository = repository;
 }
Example #2
0
        private void Bootstrapper()
        {
            this.c_logger        = new AM.Scheduler.Infrastructure.Logger().LoggerInstance;
            this.c_configuration = new AM.Scheduler.Infrastructure.ConfigurationSettings();
            this.c_repository    = new AM.Scheduler.Data.Repository.Repository(this.c_configuration.DatabaseConnectionString, this.c_logger);
            var _scheduler = new AM.Scheduler.Infrastructure.QuartzScheduler(this.c_logger, this.c_repository);

            this.c_scheduler = new AM.Scheduler.Infrastructure.MessagingBus(
                this.c_configuration,
                _scheduler).SchedulerInstance;
        }