public void OnJobDone(JobDoneArgs args)
 {
     this.JobDone?.Invoke(this, args);
 }
Exemple #2
0
 public void FinishedJob(object sender, JobDoneArgs args)
 {
     Console.WriteLine($"Job {args.Job.Name} done!");
     this.jobs.Remove(args.Job);
 }