private static IEnumerable <Tuple <string, SectionDictionary> > _GetSections(IEnumerable <string> lines) { foreach (var section in _ParseSections(lines)) { var values = new SectionDictionary(); foreach (var kvp in section.Item2) { var parts = kvp.Split(new[] { ':' }, 2); values.Add(parts[0].TrimEnd(), parts[1].TrimStart()); } yield return(Tuple.Create(section.Item1, values)); } }
internal MediaStream(SectionDictionary values) { this._values = values; }