Esempio n. 1
0
        public JobAdsPollerTask(IMyCareerQuery myCareerQuery, IEmployersQuery employersQuery, ILoginCredentialsQuery loginCredentialsQuery, IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IJobAdIntegrationQuery jobAdIntegrationQuery, IExternalJobAdsCommand externalJobAdsCommand, ILocationQuery locationQuery)
            : base(EventSource)
        {
            _myCareerQuery         = myCareerQuery;
            _employersQuery        = employersQuery;
            _loginCredentialsQuery = loginCredentialsQuery;
            _jobAdsCommand         = jobAdsCommand;
            _jobAdsQuery           = jobAdsQuery;
            _jobAdIntegrationQuery = jobAdIntegrationQuery;
            _externalJobAdsCommand = externalJobAdsCommand;
            _locationMapper        = new LocationMapper(locationQuery);

            _progressInterval = 5 * 60 * 1000; // default = 5 min.
        }
Esempio n. 2
0
 public JobAdProcessingQuery(ICareerOneQuery careerOneQuery, IMyCareerQuery myCareerQuery, IJxtQuery jxtQuery)
 {
     _careerOneQuery = careerOneQuery;
     _myCareerQuery  = myCareerQuery;
     _jxtQuery       = jxtQuery;
 }