Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public static Scheduler Create(SchedulerSettings settings)
 {
     instance = new Scheduler();
     return instance;
 }
Exemplo n.º 3
0
 static Scheduler CreateScheduler()
 {
     var settings = new SchedulerSettings();
     return Scheduler.Create(settings);
 }