示例#1
0
 public void OnChanged(QuartzConfig newConfig, QuartzConfig oldConfig)
 {
     _quartzServer.Stop();
     if (newConfig.Enabled)
     {
         _quartzServer.Restart();
     }
 }