public void Visit(Rectangle rectangle) => Console.WriteLine($"{nameof(rectangle)} in {nameof(ExcelExportVisitor)}");
Exemple #2
0
 public void DrawRectrangle(Rectangle rectangle)
 {
     Console.WriteLine("I print rectangle: [x:{0},y:{1},width:{2},height:{3}]", rectangle.X, rectangle.Y, rectangle.Width, rectangle.Heigth);
 }