示例#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);
     }
 }
示例#2
0
 protected virtual void OnServerStarted(TcpServerStartedEventArgs e)
 {
     this.ServerStarted?.Invoke(this, e);
 }