Beispiel #1
0
 /// <summary>
 /// Remove a job component from the collection.</summary>
 public void Remove(JobComponent jobComponent)
 {
     List.Remove(jobComponent);
 }
Beispiel #2
0
 public JobComponentFinishedEventArgs(JobComponent jobComp, WorkerResult result)
     : base()
 {
     this._sequenceNr = jobComp.SequenceNumber;
     this.jobComponentName = jobComp.Name;
     if (result == null)
         throw new ApplicationException("The result of the job can not be null");
     else if (result.Status == WorkerResultStatus.Ok)
         isOK = true;
     this.result = result;
 }
Beispiel #3
0
 /// <summary>
 /// Add a job component to the collection.</summary>
 public void Add(JobComponent jobComponent)
 {
     List.Add(jobComponent);
 }