Exemple #1
0
 public void RunVisitor(IShapeVisitor visitor)
 {
     foreach (IShape shape in mShapes)
     {
         shape.RunVisit(visitor);
     }
 }
Exemple #2
0
 public abstract void RunVisit(IShapeVisitor visitor);
Exemple #3
0
 public override void RunVisit(IShapeVisitor visitor)
 {
     visitor.VisitCube(this);
 }