예제 #1
0
 public bool IsLogged(LogActivity logActivity, JobTaskBase jobTaskBase)
 {
     return IsLogged(logActivity, jobTaskBase.JobTaskNameWithOrder());
 }
예제 #2
0
파일: Job.cs 프로젝트: kennethchoe/JobQueue
 private void TryExecuteJobTask(JobTaskBase jobTask)
 {
     try
     {
         jobTask.LoggerDelegate = LoggerDelegate;
         EnrichJobTaskBeforeExecution(jobTask);
         jobTask.Execute();
     }
     catch (Exception e)
     {
         LoggerDelegate.LogError(jobTask.JobTaskNameWithOrder(), e);
         throw;
     }
 }