object IGlowVisitor <XmlWriter, object> .Visit(GlowElementCollection glow, XmlWriter state)
        {
            foreach (var element in glow.Elements)
            {
                element.Accept(this, state);
            }

            return(null);
        }
Ejemplo n.º 2
0
            GlowContainer WrapWithEndPointNode(GlowContainer glow)
            {
                var newNode  = new GlowNode(EndPointNumber);
                var children = new GlowElementCollection(GlowTags.Node.Children);

                children.Insert(glow);

                newNode.Children = children;
                return(newNode);
            }
Ejemplo n.º 3
0
        bool IGlowVisitor <object, bool> .Visit(GlowElementCollection glow, object state)
        {
            var hasCompleteNodeOrParameter = false;

            foreach (var element in glow.Elements)
            {
                hasCompleteNodeOrParameter |= element.Accept(this, state);
            }

            return(hasCompleteNodeOrParameter);
        }
Ejemplo n.º 4
0
 public IEnumerable <GlowContainer> Visit(GlowElementCollection glow, object state)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 5
0
 public GlowContainer Visit(GlowElementCollection glow, object state)
 {
     return(glow);
 }
Ejemplo n.º 6
0
 bool IGlowVisitor <object, bool> .Visit(GlowElementCollection glow, object state)
 {
     return(false);
 }