Example #1
0
        public static void StaticWrite(DateTime instant, int duration, ObjectKey cyclicJobKey, int espaceId, int tenantId,
                                       string executedBy, string errorId, DateTime shouldHaveRunAt, DateTime nextRun,
                                       string eSpaceName, string applicationName, ObjectKey applicationKey, string cyclicJobName)
        {
            CyclicJobLog log = new CyclicJobLog();

            log.Write(instant, duration, cyclicJobKey, espaceId, tenantId, executedBy, errorId, shouldHaveRunAt, nextRun,
                      eSpaceName, applicationName, applicationKey, cyclicJobName);
        }
Example #2
0
 public CyclicJobLog(CyclicJobLog obj)
 {
     log = new CyclicJobLogDefinition(obj.Instant, obj.Duration, obj.CyclicJobKey, obj.EspaceId, obj.TenantId, obj.ExecutedBy,
                                      obj.ErrorId, obj.ShouldHaveRunAt, obj.NextRun, obj.RequestKey, obj.EspaceName, obj.ApplicationName, obj.ApplicationKey, obj.CyclicJobName);
 }