protected override void Visit(YamlMappingNode mapping)
 {
     var nestedVisitor = new ContextAwareMappingVisitor(context);
     mapping.Accept(nestedVisitor);
     
     foreach (var item in nestedVisitor.Items)
     {
         this.items.Add(new KeyValuePair<string, string>(item.Key, item.Value));
     }
 }
Exemplo n.º 2
0
        protected override void Visit(YamlMappingNode mapping)
        {
            var nestedVisitor = new ContextAwareMappingVisitor(context);

            mapping.Accept(nestedVisitor);

            foreach (var item in nestedVisitor.Items)
            {
                this.items.Add(new KeyValuePair <string, string>(item.Key, item.Value));
            }
        }