示例#1
0
 public abstract void Accept(Visitor visitor);
示例#2
0
 public void Accept(Visitor visitor)
 {
     foreach (Element e in elements)
     {
         e.Accept(visitor);
     }
 }
示例#3
0
 public override void Accept(Visitor visitor)
 {
     visitor.VisitConcreteElementB(this);
 }