예제 #1
0
 public void Accept(IPersonVisitor visitor)
 {
     foreach (var asset in Assets)
     {
         asset.Accept(visitor);
     }
 }
예제 #2
0
 public override void Accept(IPersonVisitor visitor)
 {
     visitor.Visit(this);
 }
 public virtual void Accept(IPersonVisitor visitor)
 {
     visitor.Visit(this);
 }
 public override void AcceptPersonVisitor(IPersonVisitor visitor)
 {
     visitor.HandleGirl(this);
 }
 public abstract void AcceptPersonVisitor(IPersonVisitor visitor);