NuGet.Settings.GetValues C# (CSharp) Метод

GetValues() публичный Метод

public GetValues ( string section ) : string>>.IList
section string
Результат string>>.IList
        public IList<KeyValuePair<string, string>> GetValues(string section)
        {
            if (String.IsNullOrEmpty(section))
            {
                throw new ArgumentException(CommonResources.Argument_Cannot_Be_Null_Or_Empty, "section");
            }

            var sectionElement = GetSection(_config.Root, section);
            if (sectionElement == null)
            {
                return EmptyList();
            }

            return sectionElement.Elements("add")
                                 .Select(ReadValue)
                                 .ToList()
                                 .AsReadOnly();
        }