private void SetNuGetValues(string section, IList<KeyValuePair<string, string>> values) { Argument.IsNotNullOrWhitespace(() => section); EnsureSectionExists(section); var valuesListKey = GetSectionValuesListKey(section); UpdateKeysList(values, valuesListKey); foreach (var keyValuePair in values) { SetNuGetValue(section, keyValuePair.Key, keyValuePair.Value); } }