コード例 #1
0
ファイル: BuStarRepository.cs プロジェクト: JakubK/BuStar
        public BuStarRepository(string connectionString,
                                string weatherApiKey,
                                IDataParseService dataParseServiceParam,
                                IDateTimeService dateTimeServiceParam,
                                IDataCache dataCacheParam,
                                IWeatherCache weatherCacheParam)
        {
            repository         = new LiteRepository(connectionString);
            this.weatherApiKey = weatherApiKey;

            this.dataParseService = dataParseServiceParam;
            this.dateTimeService  = dateTimeServiceParam;
            this.dataCache        = dataCacheParam;
            this.weatherCache     = weatherCacheParam;
        }
コード例 #2
0
 public DownloadTristarDataTask(IRepository repositoryParam, IDataParseService dataParseServiceParam)
 {
     this.repository       = repositoryParam;
     this.dataParseService = dataParseServiceParam;
 }