private GetNuGetValue ( string section, string key, bool isPath ) : NuGet.SettingValue | ||
section | string | |
key | string | |
isPath | bool | |
return | NuGet.SettingValue |
private SettingValue GetNuGetValue(string section, string key, bool isPath)
{
Argument.IsNotNullOrWhitespace(() => section);
Argument.IsNotNullOrWhitespace(() => key);
var combinedKey = GetSectionValueKey(section, key);
var value = _configurationService.GetRoamingValue<string>(combinedKey);
if (isPath)
{
value = ConvertToFullPath(value);
}
return new SettingValue(key, value, false);
}
NuGetSettings::GetNuGetValue ( string section, string subsection, string key, bool isPath ) : NuGet.SettingValue |