public ExtractFileBaseService( ICryptoStreamer cryptoStreamer) { _cryptoStreamer = cryptoStreamer; BaseDir = ConfigurationManager.AppSettings["historyFolder"]; if (string.IsNullOrEmpty(BaseDir)) { throw new ConfigurationErrorsException("Please add 'historyFolder' settigns to .config file."); } }
public ExtractFileFromFileSystemService(ICryptoStreamer cryptoStreamer) : base(cryptoStreamer) { }
public ExtractFileFromBlobStorageService(ICryptoStreamer cryptoStreamer) : base(cryptoStreamer) { _storageAccount = CloudStorageAccount.Parse(ConfigurationManager.AppSettings["AzureStorageConnectionString"]); }