public T Accept <T>(IShapeVisitor <T> shapeVisitor) => shapeVisitor.Visit(this);
public override void Accept(IShapeVisitor shapeVisitor) { shapeVisitor.Visit(decoratedShape); }
public override void Accept(IShapeVisitor visitor) { visitor.Visit(this); }
public void Accept(IShapeVisitor shapeVisitor) { shapeVisitor.Visit(this); }
public void AcceptVisitor(IShapeVisitor visitor) => visitor.Visit(this);
public T Accept <T>(IShapeVisitor <T> visitor) { return(visitor.Visit(this)); }
public override float Accept(IShapeVisitor visitor) { return(visitor.Visit(this)); }
///<inheritdoc/> public double Accept(IShapeVisitor visitor) { return(visitor.Visit(this)); }
/// <summary> /// /// </summary> /// <param name="visitor"></param> public void Accept(IShapeVisitor visitor) { visitor.Visit((dynamic)this); }