Beispiel #1
0
 private void _objClient_OnCloseReceived(object sender, ICloseEventArgs e)
 {
     Disconnect();
 }
Beispiel #2
0
 private void Connection_OnClose(object sender, ICloseEventArgs e)
 {
     Log.Info($"Connection {ID} closed");
     this.Close();
     Disconnected?.Invoke(this, this);
 }