예제 #1
0
 public void VisitConcreteComponentB(ConcreteComponentB element)
 {
     Console.WriteLine($"{element.SpecialMethodOfConcreteComponentB()} + written to pdf");
 }
예제 #2
0
 public void VisitConcreteComponentB(ConcreteComponentB element)
 {
     Console.WriteLine(element.SpecialMethodOfConcreteComponentB() + " + ConcreteVisitor1");
 }
예제 #3
0
 public string VisitConcreteComponentB(ConcreteComponentB element)
 {
     return(ConcreteComponentB.SpecialMethodOfConcreteComponentB());
 }