private SetNuGetValues ( string section, string>.IList |
||
section | string | |
values | string>.IList | |
return | void |
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);
}
}
NuGetSettings::SetNuGetValues ( string section, string subsection, string>.IList |