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