public override void Load(Stream stream) { using (var reader = new StreamReader(stream)) { var yaml = new YamlStream(); yaml.Load(reader); var data = new Dictionary <string, string>(); foreach (var(key, value) in yaml.SelectMany(d => ParseNode(d.RootNode))) { data[key] = value; } Data = data; } }