public HotelExtractorService( IFileService fileService, IHtmlExtractorService htmlExtractorService) { _fileService = fileService; _htmlExtractorService = htmlExtractorService; }
public HtmlExtractorTest(IHtmlExtractorService htmlExtractorService) { _htmlExtractorService = htmlExtractorService; HtmlNode = File.ReadAllText(Path.Combine(FilePathHelper.GetTestDataFolder("HtmlExtractor"), "testHtml.html")); ContentTestHtmlNode = @"<html> <head>test</head> <body> <h1>Mojtaba1234</h1> <h2>12.55</h2> </body> </html>"; }