Esempio n. 1
0
 protected virtual void OnServerStarted(TcpServerStartedEventArgs e)
 {
     try
     {
         this.ServerStarted?.Invoke(this, e);
     }
     catch (Exception ex)
     {
         var ue = new ExceptionEventArgs(ex);
         this.OnUnhandledException(ue);
     }
 }
Esempio n. 2
0
 protected virtual void OnServerStarted(TcpServerStartedEventArgs e)
 {
     this.ServerStarted?.Invoke(this, e);
 }