예제 #1
0
 public LarsImportService(ILarsPageParser larsPageParser,
                          IDataDownloadService dataDownloadService,
                          IImportAuditRepository importAuditRepository,
                          IApprenticeshipFundingImportRepository apprenticeshipFundingImportRepository,
                          ILarsStandardImportRepository larsStandardImportRepository,
                          IApprenticeshipFundingRepository apprenticeshipFundingRepository,
                          ILarsStandardRepository larsStandardRepository,
                          ISectorSubjectAreaTier2ImportRepository sectorSubjectAreaTier2ImportRepository,
                          ISectorSubjectAreaTier2Repository sectorSubjectAreaTier2Repository,
                          IStandardImportRepository standardImportRepository,
                          IZipArchiveHelper zipArchiveHelper,
                          ILogger <LarsImportService> logger)
 {
     _larsPageParser        = larsPageParser;
     _importAuditRepository = importAuditRepository;
     _apprenticeshipFundingImportRepository = apprenticeshipFundingImportRepository;
     _larsStandardImportRepository          = larsStandardImportRepository;
     _apprenticeshipFundingRepository       = apprenticeshipFundingRepository;
     _larsStandardRepository = larsStandardRepository;
     _sectorSubjectAreaTier2ImportRepository = sectorSubjectAreaTier2ImportRepository;
     _sectorSubjectAreaTier2Repository       = sectorSubjectAreaTier2Repository;
     _standardImportRepository = standardImportRepository;
     _logger            = logger;
     _larsImportStaging = new LarsImportStaging(
         dataDownloadService,
         zipArchiveHelper,
         _apprenticeshipFundingImportRepository,
         _larsStandardImportRepository,
         _sectorSubjectAreaTier2ImportRepository,
         _logger);
 }
예제 #2
0
 public MarketDataService(
     IDataDownloadService dataDownloadService,
     IDataProcessingService dataProcessingService)
 {
     _dataDownloadService   = dataDownloadService;
     _dataProcessingService = dataProcessingService;
 }
 public UsTreasuryMarketDataService(
     IDataDownloadService dataDownloadService,
     IDataProcessingService dataProcessingService,
     IUsTreasuryDataService usTreasuryDataService)
     : base(dataDownloadService, dataProcessingService)
 {
     _usTreasuryDataService = usTreasuryDataService;
 }
예제 #4
0
 public CharityImporter(ReferenceDataApiConfiguration configuration,
                        ICharityRepository charityRepository,
                        ICharityService charityService,
                        IDataDownloadService dataDownloadService,
                        ILog logger)
 {
     _configuration       = configuration;
     _charityRepository   = charityRepository;
     _charityService      = charityService;
     _dataDownloadService = dataDownloadService;
     _logger = logger;
 }
예제 #5
0
 public LarsImportStaging(
     IDataDownloadService dataDownloadService,
     IZipArchiveHelper zipArchiveHelper,
     IApprenticeshipFundingImportRepository apprenticeshipFundingImportRepository,
     ILarsStandardImportRepository larsStandardImportRepository,
     ISectorSubjectAreaTier2ImportRepository sectorSubjectAreaTier2ImportRepository,
     ILogger <LarsImportService> logger)
 {
     _dataDownloadService = dataDownloadService;
     _zipArchiveHelper    = zipArchiveHelper;
     _apprenticeshipFundingImportRepository  = apprenticeshipFundingImportRepository;
     _larsStandardImportRepository           = larsStandardImportRepository;
     _sectorSubjectAreaTier2ImportRepository = sectorSubjectAreaTier2ImportRepository;
     _logger = logger;
 }
 public NationalAchievementRatesOverallImportService(INationalAchievementRatesPageParser pageParser,
                                                     IImportAuditRepository auditRepository,
                                                     IDataDownloadService downloadService,
                                                     IZipArchiveHelper zipArchiveHelper,
                                                     INationalAchievementRateOverallImportRepository importRepository,
                                                     INationalAchievementRateOverallRepository repository,
                                                     ILogger <NationalAchievementRatesOverallImportService> logger)
 {
     _pageParser       = pageParser;
     _auditRepository  = auditRepository;
     _downloadService  = downloadService;
     _zipArchiveHelper = zipArchiveHelper;
     _importRepository = importRepository;
     _repository       = repository;
     _logger           = logger;
 }
예제 #7
0
        //https://developer.xamarin.com/api/type/System.IDisposable/
        //http://stackoverflow.com/questions/538060/proper-use-of-the-idisposable-interface

        public CustomViewModelBase(INavigationService navService, IDataRetrievalService dataRetrievalService, IDataDownloadService dataDownloadService, IStateService stateService, ILoggingService loggingService, IMemoryReporterService memoryReporterService)
        {
            if (navService == null)
            {
                throw new ArgumentException("Invalid navService");
            }

            if (dataRetrievalService == null)
            {
                throw new ArgumentException("Invalid dataRetrievalService");
            }

            if (dataDownloadService == null)
            {
                throw new ArgumentException("Invalid dataDownloadService");
            }

            if (stateService == null)
            {
                throw new ArgumentException("Invalid stateService");
            }

            if (loggingService == null)
            {
                throw new ArgumentException("Invalid loggingService");
            }

            if (memoryReporterService == null)
            {
                throw new ArgumentException("Invalid memoryReporterService");
            }

            NavService            = navService;
            DataRetrievalService  = dataRetrievalService;
            DataDownloadService   = dataDownloadService;
            StateService          = stateService;
            LoggingService        = loggingService;
            MemoryReporterService = memoryReporterService;

            IsDev = false;
#if DEBUG
            IsDev = true;
#endif
        }
예제 #8
0
 public GameViewModel(INavigationService navService, IDataRetrievalService dataRetrievalService, IDataDownloadService dataDownloadService, IStateService stateService, ILoggingService loggingService, IMemoryReporterService memoryReporterService)
     : base(navService, dataRetrievalService, dataDownloadService, stateService, loggingService, memoryReporterService)
 {
     BingoInstanceContent = new List <ModelObj.BB.BingoInstanceContent>();
     Players = new List <PlayerViewModel>();
 }
예제 #9
0
 public UsersController(ILogger <UsersController> logger, IUserDataService userDataService, IDataDownloadService dataDownload)
 {
     _logger          = logger;
     _userDataService = userDataService;
     _dataDownload    = dataDownload;
 }
예제 #10
0
 public WelcomeViewModel(INavigationService navService, IDataRetrievalService dataRetrievalService, IDataDownloadService dataDownloadService, IStateService stateService, ILoggingService loggingService, IMemoryReporterService memoryReporterService)
     : base(navService, dataRetrievalService, dataDownloadService, stateService, loggingService, memoryReporterService)
 {
     Meetings   = new ObservableCollection <Meeting>();
     _hasLoaded = false;
 }
예제 #11
0
 public SplashViewModel(INavigationService navService, IDataRetrievalService dataRetrievalService, IDataDownloadService dataDownloadService, IStateService stateService, ILoggingService loggingService, IMemoryReporterService memoryReporterService)
     : base(navService, dataRetrievalService, dataDownloadService, stateService, loggingService, memoryReporterService)
 {
 }
 public DataDownloadController(IDataDownloadService dataDownloadService)
 {
     _dataDownloadService = dataDownloadService;
 }
예제 #13
0
 protected YahooMarketDataService(
     IDataDownloadService dataDownloadService,
     IDataProcessingService dataProcessingService)
     : base(dataDownloadService, dataProcessingService)
 {
 }
 public HangSengStockYahooMarketDataService(
     IDataDownloadService dataDownloadService, 
     IDataProcessingService dataProcessingService) 
     : base(dataDownloadService, dataProcessingService)
 {
 }