/// <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); }
/// <summary> /// The visit concrete element b. /// </summary> /// <param name="concreteElementB"> /// The concrete element b. /// </param> public abstract void VisitConcreteElementB(ConcreteElementB concreteElementB);