public void VisitConcreteComponentB(ConcreteComponentB element) { Console.WriteLine($"{element.SpecialMethodOfConcreteComponentB()} + written to pdf"); }
public void VisitConcreteComponentB(ConcreteComponentB element) { Console.WriteLine(element.SpecialMethodOfConcreteComponentB() + " + ConcreteVisitor1"); }
public string VisitConcreteComponentB(ConcreteComponentB element) { return(ConcreteComponentB.SpecialMethodOfConcreteComponentB()); }