Пример #1
0
 public void OnJobDone(object sender, JobEventArgs e)
 {
     Console.WriteLine($"Job {this.Name} done!");
     this.IsDone = true;
 }
Пример #2
0
 public void OnJobDone(object sender, JobEventArgs e)
 {
     this.Remove(e.Job);
 }