public AzureDriveInfoFactory(AzureBlobAdapter azureBlobAdapter) { _azureBlobAdapter = azureBlobAdapter; foreach (var driveSetting in azureBlobAdapter.AzureBlobSettingsData.MountPoints) { //make the mount points upper for case in sensitive comparison _azureDrives.Add(new AzureDriveInfo(azureBlobAdapter) { ContainerName = driveSetting.ContainerName, Name = driveSetting.Name }); } }
public static IFileSystem GetFileSystem(FileSystemTypes fileSystemType, AzureBlobSettings azureBlobSettings = null) { IFileSystem FileSystem; if (fileSystemType == FileSystemTypes.SystemIO) { FileSystem = new FileSystem(); return(FileSystem); } if (azureBlobSettings == null) { throw new InvalidOperationException("Azure Blob Settings is required to initialize the Azure"); } FileSystem = new AzureBlobAdapter(azureBlobSettings); return(FileSystem); }
public AzureDirectory(AzureBlobAdapter azureBlobAdapter) { _azureBlobAdapter = azureBlobAdapter; }
public AzureFile(AzureBlobAdapter azureBlobAdapter) { _azureBlobAdapter = azureBlobAdapter; }
public AzureDriveInfo(AzureBlobAdapter azureBlobAdapter) { _azureBlobAdapter = azureBlobAdapter; }