public void RunVisitor(IShapeVisitor visitor) { foreach (IVisitorShape shape in mShapeLst) { shape.RunVisitor(visitor); } }
public override void RunVisitor(IShapeVisitor visitor) { visitor.VisitCube(this); }
public abstract void RunVisitor(IShapeVisitor visitor);
public override void RunVisitor(IShapeVisitor visitor) { visitor.VisitCyclinder(this); }