Quartz scheduler: avoid using class file and want to call a method directly
问题 I am using quartz scheduler in my project. I have copy pasted my code below.In this area of code, Type type=typeof(class) , I need to call a method like, Type type=typeof(methodname()) . I dont want to call an external class file. int JobID = 0; JobDetailImpl job = null; Quartz.Impl.Triggers.CronTriggerImpl trigger = null; ISimpleTrigger simpleTrigger = null; JobDataMap jobdatamap = new JobDataMap(); sheduler.Start(); String cronExpression = "0 0/1 * * * ?"; Type type = typeof(TriggerJob1);