private void OnTrackerError(string message) { // If we are not logging Errors, then just return LogMode mode = this.Settings.LoggingMode; if (mode == LogMode.None || mode == LogMode.NotificationOnly) return; TrackerActivityDelegate tad = this.TrackerError; if (tad != null) { // Raise the Event this.TrackerError(this, new TrackerActivityEventArgs(message, TrackerAction.Error)); } }>Isn't the more usual format:
public virtual void OnTimerEvent( EventArgs e) >{ > if (this.TimerEvent != null) > this.TimerEvent(this, e); >} >