protected bool OnTracing(TraceEntry entry) { try { TracingEventArgs args = new TracingEventArgs(entry); this.OnTracing(args); return args.Cancel; } catch(Exception ex) { this.OnFailed(new FailureEventArgs(ex, entry)); return false; } }
protected virtual void OnTracing(TracingEventArgs args) { if(this.Tracing != null) this.Tracing(this, args); }