protected virtual void NotifyLogEvent(LogEventHandlerArgs args) { var handler = LogEvent; if (handler != null) { handler(this, args); } }
private void NotifyLogEvent(LogEventHandlerArgs args) { var handler = HubLogEvent; if (handler != null) { handler(this, args); } }
protected override void OnLogEvent(object sender, LogEventHandlerArgs args) { NotifyLogEvent(args); }
private void OnLogEvent(object sender, LogEventHandlerArgs args) { this.OnLoggedItem(_loggedItemFormatter.Format(args.LoggedItem), args.LoggedItem); }
protected abstract void OnLogEvent(object sender, LogEventHandlerArgs args);