예제 #1
0
 //外界注入具体访问者
 public abstract void Accept(ShapeVisitor visitor);
예제 #2
0
 public override void Accept(ShapeVisitor visitor)
 {
     visitor.Visit(this);
 }
예제 #3
0
 public AppStructure(ShapeVisitor visitor)
 {
     this._visitor = visitor;
 }