public SituationReportsService(IAssetsService assetsService, IFactionsService factionsService, ISolarSystemsService solarSystemsService, ITickService tickService)
 {
     _assetsService       = assetsService;
     _factionsService     = factionsService;
     _solarSystemsService = solarSystemsService;
     _tickService         = tickService;
 }
Esempio n. 2
0
 public PlanetaryResourcesService(
     EveEchoesPlanetaryProductionApiDbContext dbContext,
     ISolarSystemsService solarSystemsService,
     IItemsService itemsService)
 {
     this.dbContext           = dbContext;
     this.solarSystemsService = solarSystemsService;
     this.itemsService        = itemsService;
 }
 public SolarSystemsController(
     ISolarSystemsService solarSystemService,
     IConstellationService constellationService,
     IRegionsService regionsService,
     IOptions <ApiBehaviorOptions> apiBehaviorOptions)
 {
     this.solarSystemService   = solarSystemService;
     this.constellationService = constellationService;
     this.regionsService       = regionsService;
     this.apiBehaviorOptions   = apiBehaviorOptions;
 }
        public ExpansionPlanner()
        {
            InitializeComponent();

            eliteBgsRepository   = new EliteBgsRepository();
            eddbRepository       = new EddbRepository();
            solarSystemsService  = new SolarSystemsService(eliteBgsRepository, eddbRepository);
            fileSystemRepository = new FileSystemRepository();
            tickService          = new TickService(eliteBgsRepository);
            userSettingsService  = new UserSettingsService(fileSystemRepository);

            GetSettings();
            if (!string.IsNullOrEmpty(SystemNameTextBox.Text))
            {
                expansionReport.ExpandFromSystem = SystemNameTextBox.Text;
                GetExpansionReport();
            }
        }
Esempio n. 5
0
        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();
        }
 public LocationsController(ISolarSystemsService solarSystemService)
 {
     this.solarSystemService = solarSystemService;
 }