C# Class Azure.Storage.FileStorage

Inheritance: IFileStorage
Afficher le fichier Open project: cmatskas/Azure.Storage

Méthodes publiques

Méthode Description
CreateDirectory ( string directoryName ) : void
DeleteDirectory ( string directoryName ) : void
DeleteFile ( string directoryName, string fileName ) : void
DirectoryExists ( string directoryName ) : bool
FileExists ( string directoryName, string fileName ) : bool
FileStorage ( string fileShareName, string storageConnectionString ) : System.IO
UploadFile ( string directoryName, string fileName, string sourceFilePath ) : void
WriteStreamToFile ( string directoryName, string fileName, Stream content ) : void
WriteTextToFile ( string directoryName, string fileName, string content ) : void

Method Details

CreateDirectory() public méthode

public CreateDirectory ( string directoryName ) : void
directoryName string
Résultat void

DeleteDirectory() public méthode

public DeleteDirectory ( string directoryName ) : void
directoryName string
Résultat void

DeleteFile() public méthode

public DeleteFile ( string directoryName, string fileName ) : void
directoryName string
fileName string
Résultat void

DirectoryExists() public méthode

public DirectoryExists ( string directoryName ) : bool
directoryName string
Résultat bool

FileExists() public méthode

public FileExists ( string directoryName, string fileName ) : bool
directoryName string
fileName string
Résultat bool

FileStorage() public méthode

public FileStorage ( string fileShareName, string storageConnectionString ) : System.IO
fileShareName string
storageConnectionString string
Résultat System.IO

UploadFile() public méthode

public UploadFile ( string directoryName, string fileName, string sourceFilePath ) : void
directoryName string
fileName string
sourceFilePath string
Résultat void

WriteStreamToFile() public méthode

public WriteStreamToFile ( string directoryName, string fileName, Stream content ) : void
directoryName string
fileName string
content System.IO.Stream
Résultat void

WriteTextToFile() public méthode

public WriteTextToFile ( string directoryName, string fileName, string content ) : void
directoryName string
fileName string
content string
Résultat void