private void RefreshRegisteredKeys() { foreach (SettingEntry <string> key in _apiKeyRepository.Cast <SettingEntry <string> >()) { UpdateCharacterList(key); } }