public void GetCardImages(IEnumerable <Game> games) { foreach (Game game in games) { IImageProvider provider = TryGetProvider(game.Name); if (provider == null) { continue; } provider.GetCardImages(game); } }