public void Setup()
 {
     _firestoreService = new FirestoreService(ConfigurationService);
     _ftpService       = new FtpService(ConfigurationService);
     _storageService   = new StorageService(UnitTestLoggerFactory, ConfigurationService);
     _igcReaderService = new IgcReaderService();
 }
Esempio n. 2
0
        public Program()
        {
            System.Environment.SetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS", "D:\\llauner\\GoogleCloud_Credentials\\Service_Account_Key-igcheatmap-f012be117f9c.json");

            _firestoreService = new FirestoreService(ConfigurationService);
            _ftpService       = new FtpService(ConfigurationService);
            _storageService   = new StorageService(ConfigurationService);
            _igcReaderService = new IgcReaderService();
        }
 public AggregatorService(ILoggerFactory loggerFactory,
                          IConfigurationService configuration,
                          IFtpService ftpService,
                          IFirestoreService fireStoreService,
                          IStorageService storageService,
                          IIgcReaderService igcReaderService,
                          INetcoupeService netcoupeService)
 {
     _logger           = loggerFactory.CreateLogger <AggregatorService>();
     _configuration    = configuration;
     _ftpService       = ftpService;
     _firestoreService = fireStoreService;
     _storageService   = storageService;
     _igcReaderService = igcReaderService;
     _netcoupeService  = netcoupeService;
 }