示例#1
0
 public void RunVisitor(IShapeeVisitor theVisitor)
 {
     foreach (IShape theShape in _ShapeesList)
     {
         theShape.RunVisitor(theVisitor);
     }
 }
示例#2
0
 public override void RunVisitor(IShapeeVisitor theVisitor)
 {
     theVisitor.VisitCube(this);
 }
示例#3
0
 public override void RunVisitor(IShapeeVisitor theVisitor)
 {
     theVisitor.VisitCylinder(this);
 }
示例#4
0
 public abstract int GetVectorCount();   // 获取定点数
 public abstract void RunVisitor(IShapeeVisitor theVisitor);