Exemple #1
0
 public Task <Boolean> Schedule(PublishCommandJobId id, ICommand command, String cronExpression, DateTime triggerDate)
 {
     return(_scheduler.Schedule <PublishCommandJob, PublishCommandJobId>(new PublishCommandJob(id, command), cronExpression, triggerDate));
 }
Exemple #2
0
 public Task <Boolean> Cancel(PublishCommandJobId jobId)
 {
     return(_scheduler.Cancel <PublishCommandJob, PublishCommandJobId>(jobId));
 }
Exemple #3
0
 public Task <Boolean> Schedule(PublishCommandJobId id, ICommand command, TimeSpan interval, DateTime triggerDate)
 {
     return(_scheduler.Schedule <PublishCommandJob, PublishCommandJobId>(new PublishCommandJob(id, command), interval, triggerDate));
 }