Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. /// <summary>
  2. /// loads job data from files
  3. /// </summary>
  4. public static void LoadFiles()
  5. {
  6. try
  7. {
  8. if (GenericTools.DoesFileExist("jk"))
  9. {
  10. jobmap_jk.AddRange(GenericTools.CsvToListString(str));
  11. }
  12.  
  13. if (GenericTools.DoesFileExist("efccid"))
  14. {
  15. jobmap_efccid.AddRange(GenericTools.CsvToListString(str));
  16. }
  17.  
  18. if (GenericTools.DoesFileExist("company"))
  19. {
  20. company.AddRange(GenericTools.CsvToListString(str));
  21. }
  22.  
  23. if (GenericTools.DoesFileExist("location"))
  24. {
  25. jobLocation.AddRange(GenericTools.CsvToListString(str));
  26. }
  27.  
  28. if (GenericTools.DoesFileExist("joblinks"))
  29. {
  30. indeedLinks.AddRange(GenericTools.CsvToListString(str));
  31. }
  32.  
  33. if (GenericTools.DoesFileExist("title"))
  34. {
  35. jobTitle.AddRange(GenericTools.CsvToListString(str));
  36. }
  37. }
  38.  
  39. catch (Exception)
  40. {
  41. throw;
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement