예제 #1
0
 public void Visit(Vistor vistor)
 {
     foreach (var element in _elements)
     {
         element.Accept(vistor);
     }
 }
예제 #2
0
 public void Accept(Vistor vistor)
 {
     vistor.Viste(this);
 }