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