Ejemplo n.º 1
0
        public ExtractFileBaseService(
            ICryptoStreamer cryptoStreamer)
        {
            _cryptoStreamer = cryptoStreamer;

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