File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 
src/FunnelWeb/Providers/File Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 33using  System . Linq ; 
44using  System . Web . Mvc ; 
55using  FunnelWeb . Model ; 
6- using  FunnelWeb . Model . Repositories . Internal ; 
6+ using  FunnelWeb . Settings ; 
77using  FunnelWeb . Utilities ; 
88using  ICSharpCode . SharpZipLib . Zip ; 
99using  Microsoft . WindowsAzure ; 
@@ -18,10 +18,10 @@ public class AzureBlobFileRepository : FileRepositoryBase
1818        private  readonly  CloudBlobContainer  container ; 
1919        private  readonly  string  containerName ; 
2020
21-         public  AzureBlobFileRepository ( ) 
21+         public  AzureBlobFileRepository ( IConfigSettings   configSettings ) 
2222        { 
23-             var  setting  =  CloudConfigurationManager . GetSetting ( "StorageConnectionString" ) ; 
24-             containerName  =  CloudConfigurationManager . GetSetting ( "BlobContainerName" ) ; 
23+             var  setting  =  configSettings . Get ( "StorageConnectionString" ) ; 
24+             containerName  =  configSettings . Get ( "BlobContainerName" ) ; 
2525            storageAccount  =  CloudStorageAccount . Parse ( setting ) ; 
2626            blobClient  =  storageAccount . CreateCloudBlobClient ( ) ; 
2727            container  =  blobClient . GetContainerReference ( containerName . ToLower ( ) ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments