Ejemplo n.º 1
0
 /// <summary>
 /// Remove a job component from the collection.</summary>
 public void Remove(JobComponent jobComponent)
 {
     List.Remove(jobComponent);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Add a job component to the collection.</summary>
 public void Add(JobComponent jobComponent)
 {
     List.Add(jobComponent);
 }