Exemplo n.º 1
0
 /// <summary>
 /// The visit concrete element b.
 /// </summary>
 /// <param name="concreteElementB">
 /// The concrete element b.
 /// </param>
 public override void VisitConcreteElementB(ConcreteElementB concreteElementB)
 {
     Console.WriteLine("Element:{0} visited by {1}", concreteElementB.GetType().Name, this.GetType().Name);
 }
Exemplo n.º 2
0
 /// <summary>
 /// The visit concrete element b.
 /// </summary>
 /// <param name="concreteElementB">
 /// The concrete element b.
 /// </param>
 public abstract void VisitConcreteElementB(ConcreteElementB concreteElementB);