protected virtual void OnClientStopped(TcpClientStoppedEventArgs e) { try { this.ClientStopped?.Invoke(this, e); } catch (Exception ex) { var unhandledExceptionEventArgs = new ExceptionEventArgs(ex); this.OnUnhandledException(unhandledExceptionEventArgs); } }
protected virtual void OnClientStopped(TcpClientStoppedEventArgs e) { this.ClientStopped?.Invoke(this, e); }