public Scraper()
 {
     _accountService  = new AccountService();
     _settingService  = new SettingService();
     _debugLogService = new DebugLogService();
     _profileService  = new ProfileService();
     _companyService  = new CompanyService();
     _configuration   = AppServiceConfiguration.Instance;
 }
 public SearchSuitableProfiles()
 {
     _accountService         = new AccountService();
     _companyService         = new CompanyService();
     _settingService         = new SettingService();
     _debugLogService        = new DebugLogService();
     _profileService         = new ProfileService();
     _suitableProfileService = new SuitableProfileService();
     _emailHandler           = new EmailHandler();
     _configuration          = AppServiceConfiguration.Instance;
 }
Пример #3
0
 public SettingService()
 {
     _configuration = AppServiceConfiguration.Instance;
     _flurlClient   = new FlurlClient(_configuration.ServerURL);
     _flurlClient.Settings.Timeout = TimeSpan.FromSeconds(60);
 }