示例#1
0
 public void Visit(Group g)
 {
     throw new NotImplementedException();
 }
示例#2
0
 public void Visit(Group g)
 {
     Console.WriteLine($"I am the group named {g.Name}.");
     g.TraverseChildren(this);
 }