예제 #1
0
파일: MessageServer.cs 프로젝트: jsjxrj/GFF
 protected override void RaiseOnErrored(Exception ex, params object[] args)
 {
     if (args != null && args[0] != null)
     {
         UserToken u = (UserToken)args[0];
     }
     OnErrored?.Invoke(ex, args);
 }
예제 #2
0
 private void error(object sender, ErrorEventArgs e)
 {
     Interaction.QueueOnMainThread((p1, p2) =>
     {
         if (OnErrored != null)
         {
             OnErrored.Emit(p1, (ErrorEventArgs)p2);
         }
     }, sender, e);
 }
예제 #3
0
파일: ServerSocket.cs 프로젝트: jsjxrj/GFF
 protected virtual void RaiseOnErrored(Exception ex, params object[] args)
 {
     OnErrored?.BeginInvoke(ex, args, null, null);
 }