Exemplo n.º 1
0
 private static void Draw()
 {
     foreach (var vo in vectorObjects)
     {
         foreach (var line in vo)
         {
             var adapter = new LineToPointAdapter(line);
             adapter.ForEach(DrawPoint);
         }
     }
 }
Exemplo n.º 2
0
        private static void Draw()
        {
            LineToPointAdapter adapter = null;

            foreach (var vo in _vectorObjects)
            {
                foreach (var line in vo)
                {
                    adapter = new LineToPointAdapter(line);
                    //adapter.ForEach(DrawPoint);
                    //WriteLine();
                }
            }
            adapter?.ForEach(DrawPoint);
        }