public AzureBlobShellSettingsManager(IMimeTypeProvider mimeTypeProvider, IShellSettingsManagerEventHandler events) {
     var connectionString = CloudConfigurationManager.GetSetting(Constants.ShellSettingsStorageConnectionStringSettingName);
     var containerName = CloudConfigurationManager.GetSetting(Constants.ShellSettingsContainerNameSettingName);
     if (String.IsNullOrEmpty(containerName))
         containerName = Constants.ShellSettingsDefaultContainerName;
     _fileSystem = new AzureFileSystem(connectionString, containerName, String.Empty, true, mimeTypeProvider);
     _events = events;
     Logger = NullLogger.Instance;
 }
        public AzureLuceneIndexProvider(
            IAppDataFolder appDataFolder,
            ShellSettings shellSettings,
            ILuceneAnalyzerProvider analyzerProvider,
            ILuceneAzureFileSystemFactory fileSystemFactory)
            : base(new StubAppDataFolder(appDataFolder), shellSettings, analyzerProvider)
        {
            _appDataFolder = appDataFolder;
            _shellSettings = shellSettings;

            _fileSystem = fileSystemFactory.Create(shellSettings.Name);
            _storageAccount = CloudStorageAccount.Parse(_fileSystem.StorageConnectionString);
        }
 public AzureBlobShellSettingsManager(IMimeTypeProvider mimeTypeProvider, IShellSettingsManagerEventHandler events) {
     _fileSystem = new AzureFileSystem(CloudConfigurationManager.GetSetting(Constants.ShellSettingsStorageConnectionStringSettingName), Constants.ShellSettingsContainerName, String.Empty, true, mimeTypeProvider);
     _events = events;
     Logger = NullLogger.Instance;
 }