Beispiel #1
0
 /// <summary>
 /// Executes the job regardless its schedule.
 /// </summary>
 public void Execute()
 {
     JobManager.RunJob(this);
 }
Beispiel #2
0
 public Schedule Schedule <T>() where T : IJob
 {
     return(Schedule(JobManager.GetJobAction <T>(), typeof(T).Name));
 }
Beispiel #3
0
 public Schedule AndThen <T>() where T : IJob
 {
     Jobs.Add(JobManager.GetJobAction <T>());
     return(this);
 }