예제 #1
0
 public virtual IJobDefinition GetSeedJobDefinition(IBatch batch)
 {
     return(ManagementService.CreateJobDefinitionQuery(c => c.Id == batch.SeedJobDefinitionId && c.JobType == BatchSeedJobHandler.TYPE)
            .First());
 }
예제 #2
0
 public override IJobDefinition GetExecutionJobDefinition(IBatch batch)
 {
     return(ManagementService.CreateJobDefinitionQuery(c => c.Id == batch.BatchJobDefinitionId && c.JobType == BatchFields.TypeProcessInstanceRestart)
            .First());
 }