Exemple #1
0
 public void CreateInstanceTest()
 {
     var settings = new SchedulerSettings();
     var scheduler = Scheduler.Create(settings);
     var instance = Scheduler.Instance;
     Assert.IsNotNull(scheduler);
     Assert.IsNotNull(instance);
     Assert.AreSame(scheduler, instance);
 }
Exemple #2
0
 public static Scheduler Create(SchedulerSettings settings)
 {
     instance = new Scheduler();
     return instance;
 }
Exemple #3
0
 static Scheduler CreateScheduler()
 {
     var settings = new SchedulerSettings();
     return Scheduler.Create(settings);
 }