public static SchedulerBuilder UseXmlSchedulingConfiguration(
     this SchedulerBuilder schedulerBuilder,
     Action <XmlSchedulingOptions> configure)
 {
     schedulerBuilder.SetProperty("quartz.plugin.xml.type", typeof(XMLSchedulingDataProcessorPlugin).AssemblyQualifiedNameWithoutVersion());
     configure.Invoke(new XmlSchedulingOptions(schedulerBuilder));
     return(schedulerBuilder);
 }
 public void SetProperty(string name, string value)
 {
     schedulerBuilder.SetProperty(name, value);
 }
Пример #3
0
 public static SchedulerBuilder UseTimeZoneConverter(this SchedulerBuilder schedulerBuilder)
 {
     schedulerBuilder.SetProperty("quartz.plugin.timeZoneConverter.type", typeof(TimeZoneConverterPlugin).AssemblyQualifiedNameWithoutVersion());
     return(schedulerBuilder);
 }