Beispiel #1
0
 public DataController(IGetOutsideData getAllData, IGetData getData, IGetLatitudeLongitude getLatitudeLongitude,
                       IGetInsideOutside getInsideOutsideData, IGetPlaceData getPlaceData, IGetDistanceTime getDistanceTime,
                       ISetReminder setReminderData, IGetSearch getSearch, IGetDataAccordingToLayoverTime getDataAccordingToLayoverTime, IAllDataExchangethroughRedisCache allDataExchangethroughRedisCache)
 {
     _getAllData                       = getAllData;
     _getData                          = getData;
     _getLatitudeLongitude             = getLatitudeLongitude;
     _getInsideOutsideData             = getInsideOutsideData;
     _getPlaceData                     = getPlaceData;
     _getDistanceTime                  = getDistanceTime;
     _setReminderData                  = setReminderData;
     _getSearch                        = getSearch;
     _getDataAccordingToLayoverTime    = getDataAccordingToLayoverTime;
     _allDataExchangethroughRedisCache = allDataExchangethroughRedisCache;
 }
 public GetDataAccordingToLayoverTime(IGetDistanceTime getDistanceTime, IAllDataExchangethroughRedisCache allDataExchangethroughRedisCache)
 {
     _getDistanceTime = getDistanceTime;
     _allDataExchangethroughRedisCache = allDataExchangethroughRedisCache;
 }