Пример #1
0
 public override void VisitConcreteElementB(
     ConcreteElementB concreteElementB)
 {
     Console.WriteLine("{0} visited by {1}",
                       concreteElementB.GetType().Name, this.GetType().Name);
 }
Пример #2
0
 public abstract void VisitConcreteElementB(ConcreteElementB concreteElementB);