public SituationReportsService(IAssetsService assetsService, IFactionsService factionsService, ISolarSystemsService solarSystemsService, ITickService tickService) { _assetsService = assetsService; _factionsService = factionsService; _solarSystemsService = solarSystemsService; _tickService = tickService; }
public MainWindow() { InitializeComponent(); eliteBgsRepository = new EliteBgsRepository(); eddnRepository = new EddnRepository(); eddbRepository = new EddbRepository(); assetsService = new AssetsService(eliteBgsRepository); factionsService = new FactionsService(eliteBgsRepository); solarSystemsService = new SolarSystemsService(eliteBgsRepository, eddbRepository); tickService = new TickService(eliteBgsRepository); situationReportsService = new SituationReportsService(assetsService, factionsService, solarSystemsService, tickService); fileSystemRepository = new FileSystemRepository(); userSettingsService = new UserSettingsService(fileSystemRepository); CheckForUpdates(); GetSituations(); //eddnRepository.ListenToEddn(); }