public ScraperService() { _scraper = new Scraper(); _accountService = new AccountService(); _settingService = new SettingService(); _debugLogService = new DebugLogService(); _configuration = AppServiceConfiguration.Instance; InitializeComponent(); }
public SSPService() { InitializeComponent(); _searchSuitableProfiles = new SearchSuitableProfiles(); _accountService = new AccountService(); _settingService = new SettingService(); _debugLogService = new DebugLogService(); _configuration = AppServiceConfiguration.Instance; }
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; }
protected override async void OnStartup(StartupEventArgs e) { // Create app services IApplicationSettings appSettings = new ApplicationSettings(); ILogService logService = new DebugLogService(); ICredentialsService credentialsService = new CredentialsService(); IZoomService zoomService = new ZoomService(logService); // Create and show MainWindow var mainWindow = new MainWindow(); var mainViewModel = new MainViewModel(zoomService, credentialsService); mainWindow.DataContext = mainViewModel; mainWindow.ShowDialog(); }