Пример #1
0
 /// <inheritdoc />
 public void Configure(IConfigSection configSection)
 {
     _dataDirectory  = configSection.GetString(@"data/elevation/local", null);
     _srtmSchemaPath = configSection.GetString(@"data/elevation/remote.schema", null);
     _srtmServer     = configSection.GetString(@"data/elevation/remote.server", @"http://dds.cr.usgs.gov/srtm/version2_1/SRTM3");
     _downloader     = new SrtmDownloader(_srtmServer, _srtmSchemaPath, _fileSystemService, _networkService, _trace);
 }
 /// <inheritdoc />
 public void Configure(IConfigSection configSection)
 {
     _dataDirectory = configSection.GetString(@"data/elevation/local", null);
     _srtmSchemaPath = configSection.GetString(@"data/elevation/remote.schema", null);
     _srtmServer = configSection.GetString(@"data/elevation/remote.server", @"http://dds.cr.usgs.gov/srtm/version2_1/SRTM3");
     _downloader = new SrtmDownloader(_srtmServer, _srtmSchemaPath, _fileSystemService, _trace);
 }