Exemple #1
0
        public IEnumerable <string> EnumValues()
        {
            if (!reader.JumpSectionContent(section))
            {
                yield break;
            }

            while (!reader.EndOfStream)
            {
                var line = reader.ReadLine();

                if (line.Length > 2 && line[0] == '[' && line[line.Length - 1] == ']')
                {
                    break;
                }

                yield return(line);
            }
        }