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