예제 #1
0
 public void Accept(ICustomerVisitor visitor)
 {
     visitor.Visit(this);
 }
예제 #2
0
 /// <summary>
 ///     Accepts the specified visitor.
 /// </summary>
 /// <param name="visitor">The visitor.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 public override void Accept(ICustomerVisitor visitor)
 {
     visitor.Visit(this);
 }
예제 #3
0
 public void Accept(ICustomerVisitor visitor)
 {
     visitor.Visit(this);
 }
 public override T Visit <T>(ICustomerVisitor <T> visitor)
 {
     return(visitor.Visit(this));
 }