Exemplo n.º 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 requestKey, string eSpaceName, string applicationName, ObjectKey applicationKey, string cyclicJobName)
        {
            CyclicJobLogDefinition log = new CyclicJobLogDefinition(instant, duration, cyclicJobKey, espaceId, tenantId, executedBy,
                                                                    errorId, shouldHaveRunAt, nextRun, requestKey, eSpaceName, applicationName, applicationKey, cyclicJobName);

            log.Write();
        }
Exemplo n.º 2
0
 public CyclicJobLogDefinition(CyclicJobLogDefinition obj) :
     this(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)
 {
 }