C# Class ALFA.Shared.AzureFileStoreContainer

This class encapsulates an Azure backend implementation of the FileStoreContainer abstraction.
Inheritance: FileStoreContainer
Afficher le fichier Open project: ALandFarAway/ALFA-Base-Resources

Méthodes publiques

Méthode Description
CreateIfNotExists ( ) : bool

Create the container if it doesn't exist. The container is assumed to be private access only.

GetDirectories ( ) : IEnumerable

List all directories directly parented to this container.

GetDirectoryReference ( string RelativeAddress ) : FileStoreDirectory

Obtain a reference to a directory by name.

GetFileReference ( string FileName ) : FileStoreFile

Obtain a reference to a file by name.

GetFiles ( ) : IEnumerable

List all files directly parented to this container.

Private Methods

Méthode Description
AzureFileStoreContainer ( Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer Container ) : System

Instantiate a new AzureFileStoreContainer from an Azure container.

Method Details

CreateIfNotExists() public méthode

Create the container if it doesn't exist. The container is assumed to be private access only.
public CreateIfNotExists ( ) : bool
Résultat bool

GetDirectories() public méthode

List all directories directly parented to this container.
public GetDirectories ( ) : IEnumerable
Résultat IEnumerable

GetDirectoryReference() public méthode

Obtain a reference to a directory by name.
public GetDirectoryReference ( string RelativeAddress ) : FileStoreDirectory
RelativeAddress string A string containing the name of the /// virtual blob directory.
Résultat FileStoreDirectory

GetFileReference() public méthode

Obtain a reference to a file by name.
public GetFileReference ( string FileName ) : FileStoreFile
FileName string A string containing the name of the /// file.
Résultat FileStoreFile

GetFiles() public méthode

List all files directly parented to this container.
public GetFiles ( ) : IEnumerable
Résultat IEnumerable