public ElevationService(ILogicSettings logicSettings) { _mapQuestService = new MapQuestElevationService(_cache); _googleService = new GoogleElevationService(logicSettings, _cache); }
public ElevationService(ISession session) { _session = session; mapQuestService = new MapQuestElevationService(session, cache); googleService = new GoogleElevationService(session, cache); }