public void Dispose() { if (_crawledUrlRepo != null) { _crawledUrlRepo.Dispose(); } if (_pagesToCrawlRepo != null) { _pagesToCrawlRepo.Dispose(); } }
public void TearDown() { _unitUnderTest.Dispose(); }
/// <summary> /// Dispose /// </summary> public void Dispose() { CrawledUrlRepository?.Dispose(); PagesToCrawlRepository?.Dispose(); }