public LocalFileStorageHgtElevationFileReader(IHgtFileNameParser fileNameParser, IHgtByteConverter hgtByteConverter) { if (fileNameParser == null) throw new ArgumentNullException("fileNameParser is null"); if (hgtByteConverter == null) throw new ArgumentNullException("hgtByteConverter is null"); _fileNameParser = fileNameParser; _byteConverter = hgtByteConverter; }
public AzureFileStorageHgtElevationFileReader(IHgtFileNameParser fileNameParser, IHgtByteConverter hgtByteConverter, IAzureFileStorageShareProvider azureStorageProvider) { if (fileNameParser == null) throw new ArgumentNullException("fileNameParser is null"); if (hgtByteConverter == null) throw new ArgumentNullException("hgtByteConverter is null"); if (azureStorageProvider == null) throw new ArgumentNullException("azureStorageProvider is null"); _fileNameParser = fileNameParser; _hgtByteConverter = hgtByteConverter; _azureStorageProvider = azureStorageProvider; }