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