private void AddToJsonQueue(TumblrCrawlerData <DataModels.TumblrSearchJson.Data> addToList) { if (Blog.DumpCrawlerData) { var datum = new Datum(); PropertyCopier <DataModels.TumblrSearchJson.Data, Datum> .Copy(addToList.Data, datum); jsonQueue.Add(new TumblrCrawlerData <Datum>(addToList.Filename, datum)); } }
private void AddToJsonQueue(TumblrCrawlerData <Datum> addToList) { if (Blog.DumpCrawlerData) { jsonQueue.Add(addToList); } }
private void AddToJsonQueue(TumblrCrawlerJsonData addToList) { if (blog.DumpCrawlerData) { jsonQueue.Add(addToList); } }
private void AddToXmlQueue(TumblrCrawlerXmlData addToList) { if (blog.DumpCrawlerData) { xmlQueue.Add(addToList); } }
private void AddToJsonQueue(CrawlerData <Post> addToList) { if (!Blog.DumpCrawlerData) { return; } lock (existingCrawlerDataLock) { if (Blog.ForceRescan || !existingCrawlerData.Contains(addToList.Filename)) { jsonQueue.Add(addToList); existingCrawlerData.Add(addToList.Filename); } } }
protected void AddToDownloadList(TumblrPost addToList) { postQueue.Add(addToList); statisticsBag.Add(addToList); }