Пример #1
0
 public ElevationService(ILogicSettings logicSettings)
 {
     _mapQuestService = new MapQuestElevationService(_cache);
     _googleService   = new GoogleElevationService(logicSettings, _cache);
 }
Пример #2
0
 public ElevationService(ISession session)
 {
     _session        = session;
     mapQuestService = new MapQuestElevationService(session, cache);
     googleService   = new GoogleElevationService(session, cache);
 }