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