示例#1
0
 /// <summary>Accepts a visitor to access the concrete volume implementation</summary>
 /// <param name="visitor">Visitor to be accepted</param>
 public void Accept(VolumeVisitor visitor) {
   visitor.Visit(this);
 }
示例#2
0
文件: Cylinder3.cs 项目: minskowl/MY
 /// <summary>Accepts a visitor to access the concrete volume implementation</summary>
 /// <param name="visitor">Visitor to be accepted</param>
 public void Accept(VolumeVisitor visitor)
 {
     visitor.Visit(this);
 }