Пример #1
0
        public static IEnumerable <ReleaseVersion> Parse(string versionsStr)
        {
            ConfigFile cfg = new ConfigFile("", true);

            cfg.LoadFromString(versionsStr);
            var sections = cfg.GetConfigSections("Version");

            return(sections.Select(section => ReleaseVersion.FromSection(section)).Where(version => version != null));
        }