Пример #1
0
 public override void VisitConcretElementB(ConcreteElementB elementB)
 {
     Console.WriteLine("元素{0}被{1}访问中....", elementB.GetType().Name, this.GetType().Name);
 }
Пример #2
0
 public abstract void VisitConcretElementB(ConcreteElementB elementB);