예제 #1
0
 public void Dispose()
 {
     if (_crawledUrlRepo != null)
     {
         _crawledUrlRepo.Dispose();
     }
     if (_pagesToCrawlRepo != null)
     {
         _pagesToCrawlRepo.Dispose();
     }
 }
예제 #2
0
 public void TearDown()
 {
     _unitUnderTest.Dispose();
 }
예제 #3
0
파일: Scheduler.cs 프로젝트: slctr/abot
 /// <summary>
 /// Dispose
 /// </summary>
 public void Dispose()
 {
     CrawledUrlRepository?.Dispose();
     PagesToCrawlRepository?.Dispose();
 }