Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Parser[] iskalniki = {new GoogleWeb(), new GooglePic(), new GoogleScholar(),
- new NajdiWeb(), new NajdiSlike(), new NajdiVideo(), new NajdiMaps()};
- if (args.GetLength(0) == 0)
- {
- Console.WriteLine("Podaj iskalni pojem!");
- return;
- }
- string arg = args[0];
- Console.WriteLine("Parameter: " + arg);
- foreach (Parser p in iskalniki)
- {
- Iskalnik res = new Iskalnik();
- res.results = new List<Zadetek>();
- p.Parse(arg, ref res);
- rezultati.Add(res);
- }
Add Comment
Please, Sign In to add comment