コード例 #1
0
        void init(string name, DataScraper boss, IDatacleaner datacleaner, int max_requests)
        {
            this.boss         = boss;
            this.datacleaner  = datacleaner;
            Name              = name;
            this.max_requests = max_requests;

            requestHandler   = new DSTRequestHandler(false);
            my_data          = new List <string>();
            requests_handled = new List <TableMetadata>();
            raw_data         = new Dictionary <TableMetadata, string>();
        }
コード例 #2
0
 public Worker(string name, DataScraper boss, IDatacleaner datacleaner, int max_requests)
 {
     init(name, boss, datacleaner, max_requests);
 }
コード例 #3
0
 public Worker(string name, DataScraper boss, IDatacleaner datacleaner)
 {
     init(name, boss, datacleaner, int.MaxValue);
 }