public void VisitNode(INodeVisitor visitor, IList<Node> body, IList<Chunk> chunks)
        {
            visitor.Accept(body);

            var sectionVisitor = new ViewComponentSectionChunkBuilderVisitor();
            sectionVisitor.Accept(body);
            sections = sectionVisitor.Sections;
            attributes = sectionVisitor.Attributes;
        }
Example #2
0
        public void VisitNode(INodeVisitor visitor, IList <Node> body, IList <Chunk> chunks)
        {
            visitor.Accept(body);

            var sectionVisitor = new ViewComponentSectionChunkBuilderVisitor();

            sectionVisitor.Accept(body);
            sections   = sectionVisitor.Sections;
            attributes = sectionVisitor.Attributes;
        }