Пример #1
0
 // Methods.
 public Trigger(string name, string group, DateTime startDateTime, DateTime? endDateTime, DateTime? previousFireDateTime, DateTime? nextFireDateTime, ETriggerActivityStatus activityStatus, Job job)
 {
     Name = name;
     TriggerGroup = new TriggerGroup(group);
     StartDateTime = startDateTime;
     EndDateTime = endDateTime;
     PreviousFireDateTime = previousFireDateTime;
     NextFireDateTime = nextFireDateTime;
     ActivityStatus = activityStatus;
     Job = job;
 }
Пример #2
0
 // Methods.
 public Trigger(string name, string group, DateTime startDateTime, DateTime?endDateTime, DateTime?previousFireDateTime, DateTime?nextFireDateTime, ETriggerActivityStatus activityStatus, Job job)
 {
     Name                 = name;
     TriggerGroup         = new TriggerGroup(group);
     StartDateTime        = startDateTime;
     EndDateTime          = endDateTime;
     PreviousFireDateTime = previousFireDateTime;
     NextFireDateTime     = nextFireDateTime;
     ActivityStatus       = activityStatus;
     Job = job;
 }