Example #1
0
 protected virtual void OnThresholdReached(ThresholdReachedEventArgs args)
 {
     ThresholdReached?.Invoke(this, args);
 }
Example #2
0
 public static void MyHandler(object o, ThresholdReachedEventArgs args)
 {
     System.Console.WriteLine("{0} and f**k you", args.Message);
 }