Exemple #1
0
 protected virtual void OnWorkerEvent(PracticeEventArgs theArgs)
 {
     (WorkerEvent)?.Invoke(this, theArgs);
 }
Exemple #2
0
 public static void TheHandler(object sender, PracticeEventArgs theArg)
 {
     Console.WriteLine($"{sender.ToString()} {theArg.Hours}");
 }