Пример #1
0
 public void Dispose()
 {
     if (_crawledUrlRepo != null)
     {
         _crawledUrlRepo.Dispose();
     }
     if (_pagesToCrawlRepo != null)
     {
         _pagesToCrawlRepo.Dispose();
     }
 }
Пример #2
0
 public void TearDown()
 {
     _unitUnderTest.Dispose();
 }
Пример #3
0
 /// <summary>
 /// Dispose
 /// </summary>
 public void Dispose()
 {
     CrawledUrlRepository?.Dispose();
     PagesToCrawlRepository?.Dispose();
 }