private static void Draw() { foreach (var vo in vectorObjects) { foreach (var line in vo) { var adapter = new LineToPointAdapter(line); adapter.ForEach(DrawPoint); } } }
private static void Draw() { foreach (var vo in vectorObjects) { foreach (var line in vo) { var adapter = new LineToPointAdapter(line); foreach (var p in adapter) { DrawPoint(p); } } } }