C# Class Azure.Storage.FileStorageAsync

Inheritance: IFileStorageAsync
ファイルを表示 Open project: cmatskas/Azure.Storage

Public Methods

Method Description
CreateDirectoryAsync ( string directoryName ) : System.Threading.Tasks.Task
DeleteDirectoryAsync ( string directoryName ) : System.Threading.Tasks.Task
DeleteFileAsync ( string directoryName, string fileName ) : System.Threading.Tasks.Task
DirectoryExists ( string directoryName ) : bool
FileExists ( string directoryName, string fileName ) : bool
FileStorageAsync ( string fileShareName, string storageConnectionString ) : System.IO
UploadFileAsync ( string directoryName, string fileName, string sourceFilePath ) : System.Threading.Tasks.Task
WriteStreamToFileAsync ( string directoryName, string fileName, Stream content ) : System.Threading.Tasks.Task
WriteTextToFileAsync ( string directoryName, string fileName, string content ) : System.Threading.Tasks.Task

Method Details

CreateDirectoryAsync() public method

public CreateDirectoryAsync ( string directoryName ) : System.Threading.Tasks.Task
directoryName string
return System.Threading.Tasks.Task

DeleteDirectoryAsync() public method

public DeleteDirectoryAsync ( string directoryName ) : System.Threading.Tasks.Task
directoryName string
return System.Threading.Tasks.Task

DeleteFileAsync() public method

public DeleteFileAsync ( string directoryName, string fileName ) : System.Threading.Tasks.Task
directoryName string
fileName string
return System.Threading.Tasks.Task

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

FileStorageAsync() public method

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

UploadFileAsync() public method

public UploadFileAsync ( string directoryName, string fileName, string sourceFilePath ) : System.Threading.Tasks.Task
directoryName string
fileName string
sourceFilePath string
return System.Threading.Tasks.Task

WriteStreamToFileAsync() public method

public WriteStreamToFileAsync ( string directoryName, string fileName, Stream content ) : System.Threading.Tasks.Task
directoryName string
fileName string
content System.IO.Stream
return System.Threading.Tasks.Task

WriteTextToFileAsync() public method

public WriteTextToFileAsync ( string directoryName, string fileName, string content ) : System.Threading.Tasks.Task
directoryName string
fileName string
content string
return System.Threading.Tasks.Task