예제 #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;
 }