Exemple #1
0
        public void OnUserDisconnect(object obj, DisconnectionArgs args)
        {
            var user = GetUser(args.Client);

            ObservableUserList.Remove(user);
            _logger.LogInformation($"{user.Name} has disconnected.");
        }
Exemple #2
0
 public void OnUserDisconnect(object obj, DisconnectionArgs args)
 {
     ObservableUserList.Remove(GetUser(args.Client));
 }