示例#1
0
 public void UseJobFactory <T>() where T : IJobFactory
 {
     schedulerBuilder.UseJobFactory <T>();
     services.TryAddSingleton(typeof(IJobFactory), typeof(T));
 }