public ScraperWinWinStatusModel StatusWorkspace() { var state = (ScraperWinWinStateModel)_state; state.WorkPhase = "StatusWorkspace"; _log("Start"); var scrapeDate = _statusWorkspace_ScrapeDateBase(state); var amountItemsFromPath = _statusWorkspace_AmountItemsFromPathBase(state); var amountPages = _statusWorkspace_AmountPagesBase(state); var amountItemsFromPages = _statusWorkspace_AmountItemsFromPages(state); var amountItemDuplicatesFromPages = _statusWorkspace_AmountItemDuplicatesFromPages(state); var status = new ScraperWinWinStatusModel() { ScrapeDate = scrapeDate, AmountItemsFromPath = amountItemsFromPath, AmountPages = amountPages, AmountItemsFromPages = amountItemsFromPages, AmountItemUniquesFromPages = amountItemDuplicatesFromPages, }; _log("End"); return(status); }
public void PrintStatus(ScraperWinWinStatusModel status) { _log($"ScrapeDate: {status.ScrapeDate}"); _log($"AmountItemsFromPath: {status.AmountItemsFromPath}"); _log($"AmountPages: {status.AmountPages}"); _log($"AmountItemsFromPages: {status.AmountItemsFromPages}"); _log($"AmountItemDuplicatesFromPages: {status.AmountItemDuplicatesFromPages}"); _log($"AmountItemUnicsFromPages: {status.AmountItemUniquesFromPages}"); }