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