public void Accept(ICustomerVisitor visitor) { visitor.Visit(this); }
/// <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); }
public override T Visit <T>(ICustomerVisitor <T> visitor) { return(visitor.Visit(this)); }