Exemple #1
0
 public void Accept(Vistor visitor)
 {
     foreach (var item in elements)
     {
         item.Accept(visitor);
     }
 }
 public void Accept(Vistor visitor)
 {
     foreach (var item in elements)
     {
         item.Accept(visitor);
     }
 }
Exemple #3
0
 public override void Accept(Vistor visitor)
 {
     visitor.VisitConcretElementB(this);
 }
Exemple #4
0
 public abstract void Accept(Vistor visitor);
 public override void Accept(Vistor visitor)
 {
     visitor.VisitConcretElementB(this);
 }
 public abstract void Accept(Vistor visitor);