Пример #1
0
 public abstract void VisitConcreteElementA(ConcreteElementA elementA);
Пример #2
0
 public override void VisitConcreteElementA(ConcreteElementA elementA)
 {
     Console.WriteLine("{0}被{1}访问", elementA.GetType().Name, this.GetType().Name);
 }