コード例 #1
0
ファイル: SchedulerHost.cs プロジェクト: PeaceCode/Elasticity
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
ファイル: SchedulerHost.cs プロジェクト: PeaceCode/Elasticity
 public SchedulerHost(Scheduler scheduler, SchedulerHostConfiguration configuration)
     : base(scheduler)
 {
     this.Configuration = configuration;
     this.Scheduler = scheduler;
 }
コード例 #4
0
 public SchedulerHostConfigurator(SchedulerHostConfiguration configuration)
 {
     this.configuration = configuration;
 }
コード例 #5
0
 public SchedulerHostConfigurator(SchedulerHostConfiguration configuration)
 {
     this.configuration = configuration;
 }
コード例 #6
0
 public SchedulerHost(Scheduler scheduler, SchedulerHostConfiguration configuration)
     : base(scheduler)
 {
     this.Configuration = configuration;
     this.Scheduler     = scheduler;
 }