Exemple #1
0
 public void Accept(EntityVisitor visitor)
 {
     foreach (var child in Children)
     {
         visitor.Visit(child);
     }
 }
 /// <summary>
 /// Accept a visit by the given visitor
 /// </summary>
 public override TReturn Accept <TReturn, TData>(EntityVisitor <TReturn, TData> visitor, TData data)
 {
     return(visitor.Visit(this, data));
 }
 public override void Accept(EntityVisitor visitor)
 {
     visitor.Visit(this);
 }
 /// <summary>
 /// Accept a visit by the given visitor
 /// </summary>
 public virtual TReturn Accept <TReturn, TData>(EntityVisitor <TReturn, TData> visitor, TData data)
 {
     return(visitor.Visit(this, data));
 }