public T Accept <T>(IShapeVisitor <T> shapeVisitor)
 => shapeVisitor.Visit(this);
Exemple #2
0
 public override void Accept(IShapeVisitor shapeVisitor)
 {
     shapeVisitor.Visit(decoratedShape);
 }
 public override void Accept(IShapeVisitor visitor)
 {
     visitor.Visit(this);
 }
Exemple #4
0
 public void Accept(IShapeVisitor shapeVisitor)
 {
     shapeVisitor.Visit(this);
 }
Exemple #5
0
 public void AcceptVisitor(IShapeVisitor visitor) => visitor.Visit(this);
Exemple #6
0
 public T Accept <T>(IShapeVisitor <T> visitor)
 {
     return(visitor.Visit(this));
 }
Exemple #7
0
 public override float Accept(IShapeVisitor visitor)
 {
     return(visitor.Visit(this));
 }
Exemple #8
0
 ///<inheritdoc/>
 public double Accept(IShapeVisitor visitor)
 {
     return(visitor.Visit(this));
 }
Exemple #9
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="visitor"></param>
 public void Accept(IShapeVisitor visitor)
 {
     visitor.Visit((dynamic)this);
 }