Advertisement
Guest User

Untitled

a guest
May 5th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. using MoPowered.Morph.Tests.Utility;
  2.  
  3. namespace MoPowered.Morph.Tests.Merchants.ExecutiveShaving.Scraping
  4. {
  5. public class HtmlLoader
  6. {
  7. public static string Formatted
  8. {
  9. get
  10. {
  11. return LoadHtmlFile("formatted");
  12. }
  13. }
  14. public static string Unformatted
  15. {
  16. get
  17. {
  18. return LoadHtmlFile("unformatted");
  19. }
  20. }
  21.  
  22. private static string LoadHtmlFile(string name)
  23. {
  24. return FileLoader.LoadText(@"Merchants\ExecutiveShaving\Scraping\" + name + ".html");
  25. }
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement