Exemple #1
0
 public void DeleteProcessedPage(Guid id)
 {
     if (ProcessedPages.ContainsKey(id))
     {
         ProcessedPages.Remove(id);
     }
 }
Exemple #2
0
 public void UpdateProcessedPage(ProcessedPage result)
 {
     if (ProcessedPages.ContainsKey(result.Id))
     {
         ProcessedPages[result.Id] = result;
     }
 }
Exemple #3
0
 public ProcessedPage GetProcessedPage(Guid id)
 {
     if (ProcessedPages.ContainsKey(id))
     {
         return(ProcessedPages[id]);
     }
     return(null);
 }
Exemple #4
0
 public void AddProcessedPage(ProcessedPage result)
 {
     result.Id = NextId;
     ProcessedPages.Add(result.Id, result);
 }