Esempio n. 1
0
 public SchedulerEvent(SchedulerEventScope scope, SchedulerEventType eventType, string itemKey, string fireInstanceId)
 {
     _scope          = scope;
     _eventType      = eventType;
     _itemKey        = itemKey;
     _fireInstanceId = fireInstanceId;
 }
Esempio n. 2
0
 public RawSchedulerEvent(SchedulerEventScope scope, SchedulerEventType eventType, string itemKey, string fireInstanceId, Exception error, object rawJobResult)
 {
     Scope          = scope;
     EventType      = eventType;
     ItemKey        = itemKey;
     FireInstanceId = fireInstanceId;
     Error          = error;
     RawJobResult   = rawJobResult;
 }
Esempio n. 3
0
 public SchedulerEvent(
     int id,
     DateTime date,
     SchedulerEventScope scope,
     SchedulerEventType eventType,
     string itemKey,
     string fireInstanceId,
     bool faulted,
     ErrorMessage[] errors)
 {
     Id             = id;
     Date           = date.UnixTicks();
     Scope          = scope;
     EventType      = eventType;
     ItemKey        = itemKey;
     FireInstanceId = fireInstanceId;
     Faulted        = faulted;
     Errors         = errors;
 }
Esempio n. 4
0
 public RawSchedulerEvent(SchedulerEventScope scope, SchedulerEventType eventType, string itemKey, string fireInstanceId) : this(scope, eventType, itemKey, fireInstanceId, null, null)
 {
 }