//------------------------------------------------------------------------------ public IEnumerable <string> GetDynamicSettingsNames() { var prefs = GetSharedPreferences(); List <string> dynamicSettingsNames = new List <string>(); foreach (var key in prefs.All.Keys) { if (SettingNameFormatInfo.GetSettingNameMode(key) == SettingNameMode.Dynamic) { dynamicSettingsNames.Add(key); } } return(dynamicSettingsNames); }
//------------------------------------------------------------------------------ public IEnumerable <string> GetDynamicSettingsNames() { var prefs = GetUserDefaults(); List <string> dynamicSettingsNames = new List <string>(); foreach (var key in prefs.ToDictionary().Keys) { var strKey = key.ToString(); if (SettingNameFormatInfo.GetSettingNameMode(strKey) == SettingNameMode.Dynamic) { dynamicSettingsNames.Add(strKey); } } return(dynamicSettingsNames); }
//------------------------------------------------------------------------------ public IEnumerable <string> GetDynamicSettingsNames() { var dynamicSettingsNames = new List <string>(); var settings = GetAppSettings(); foreach (var item in settings.Values) { var settingName = item.Key; if (SettingNameFormatInfo.GetSettingNameMode(settingName) == SettingNameMode.Dynamic) { dynamicSettingsNames.Add(settingName); } } return(dynamicSettingsNames); }