protected virtual void OnSendBusinessEvent(SendBusinessEventArgs e) { var handler = SendBusinessEvent; if (handler != null) { handler(this, e); } }
void SendBusinessEvent(object sender, SendBusinessEventArgs e) { ClientConsole.WriteLine(e.Message, e.OutputLevel, null); }
private void SendBusinessEvent(object sender, SendBusinessEventArgs e) { _console.WriteLine(e.Message, e.OutputLevel, null); Trace.WriteLine(e.Message, e.OutputLevel.ToString()); }