Exemple #1
0
        void AddRow(Input.Row row)
        {
            var uri   = row.Uri;
            var host  = new Uri(uri).Host.ToLower();
            var queue = GetQueue(host);

            queue.Add(row);
        }
Exemple #2
0
 public Item(Input.Row row, ActiveDownloads activeDownloads, Output output, HtmlToPdfGenerator htmltoPdfgenerator)
 {
     Id                 = row.Id;
     Uri                = row.Uri;
     ActiveDownloads    = activeDownloads;
     Output             = output;
     HtmlToPdfGenerator = htmltoPdfgenerator;
 }
Exemple #3
0
 public void Add(Input.Row row)
 {
     Queue.Enqueue(row);
 }