C# Class Azure.Storage.FileStorage

Inheritance: IFileStorage
Mostrar archivo Open project: cmatskas/Azure.Storage

Public Methods

Method 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 method

public CreateDirectory ( string directoryName ) : void
directoryName string
return void

DeleteDirectory() public method

public DeleteDirectory ( string directoryName ) : void
directoryName string
return void

DeleteFile() public method

public DeleteFile ( string directoryName, string fileName ) : void
directoryName string
fileName string
return void

DirectoryExists() public method

public DirectoryExists ( string directoryName ) : bool
directoryName string
return bool

FileExists() public method

public FileExists ( string directoryName, string fileName ) : bool
directoryName string
fileName string
return bool

FileStorage() public method

public FileStorage ( string fileShareName, string storageConnectionString ) : System.IO
fileShareName string
storageConnectionString string
return System.IO

UploadFile() public method

public UploadFile ( string directoryName, string fileName, string sourceFilePath ) : void
directoryName string
fileName string
sourceFilePath string
return void

WriteStreamToFile() public method

public WriteStreamToFile ( string directoryName, string fileName, Stream content ) : void
directoryName string
fileName string
content System.IO.Stream
return void

WriteTextToFile() public method

public WriteTextToFile ( string directoryName, string fileName, string content ) : void
directoryName string
fileName string
content string
return void