protected override void OnConnectionChanged(OnConnectionChangedEventArgs e)
        {
            if (!e.Connected)
            {
                clients.Remove(e.ClientId);
            }

            base.OnConnectionChanged(e);
        }
 protected override void OnConnectionChanged(OnConnectionChangedEventArgs e)
 {
     Connected = e.Connected;
     base.OnConnectionChanged(e);
 }
Exemplo n.º 3
0
 protected virtual void OnConnectionChanged(OnConnectionChangedEventArgs e)
 {
     ConnectionChanged?.Invoke(this, e);
 }