//Event Handlers
 protected virtual void OnDisconnected(DisconnectEventArgs e)
 {
     if (Disconnected != null)
     {
         Disconnected(this, e);
     }
 }
Пример #2
0
 private void ClientDisconnected(object sender, DisconnectEventArgs e)
 {
     DisconnectUser(e.Command);
 }
 //Event Handlers
 protected virtual void OnDisconnected(DisconnectEventArgs e)
 {
     if (Disconnected != null)
         Disconnected(this, e);
 }