Exemple #1
0
 public void Accept(ISavannahVisitor visitor)
 {
     foreach (var grass in this.savannah.Grasses)
     {
         grass.Accept(visitor);
     }
 }
Exemple #2
0
 public void Accept(ISavannahVisitor visitor)
 {
     foreach (var grass in this.savannah.Grasses)
     {
         grass.Accept(visitor);
     }
 }
Exemple #3
0
 public void Accept(ISavannahVisitor visitor)
 {
     visitor.Visit(this);
 }
Exemple #4
0
 public void Accept(ISavannahVisitor visitor)
 {
     visitor.Visit(this);
 }