public SchedulerHost(Scheduler scheduler, Action<SchedulerHostConfigurator> closure)
            : base(scheduler)
        {
            this.Scheduler = scheduler;

            SchedulerHostConfiguration configuration = new SchedulerHostConfiguration();
            SchedulerHostConfigurator configurator = new SchedulerHostConfigurator(configuration);

            closure.Invoke(configurator);

            this.Configuration = configuration;
        }
        public SchedulerHost(Scheduler scheduler, Action <SchedulerHostConfigurator> closure)
            : base(scheduler)
        {
            this.Scheduler = scheduler;

            SchedulerHostConfiguration configuration = new SchedulerHostConfiguration();
            SchedulerHostConfigurator  configurator  = new SchedulerHostConfigurator(configuration);

            closure.Invoke(configurator);

            this.Configuration = configuration;
        }
 public SchedulerHost(Scheduler scheduler, SchedulerHostConfiguration configuration)
     : base(scheduler)
 {
     this.Configuration = configuration;
     this.Scheduler = scheduler;
 }
Exemple #4
0
 public SchedulerHostConfigurator(SchedulerHostConfiguration configuration)
 {
     this.configuration = configuration;
 }
 public SchedulerHostConfigurator(SchedulerHostConfiguration configuration)
 {
     this.configuration = configuration;
 }
 public SchedulerHost(Scheduler scheduler, SchedulerHostConfiguration configuration)
     : base(scheduler)
 {
     this.Configuration = configuration;
     this.Scheduler     = scheduler;
 }