C# Class Microsoft.WindowsAzure.MobileServices.Files.Express.LocalStorage.FileSystem.FileSystemStorageProvider

Inheritance: ILocalStorageProvider
Mostra file Open project: Azure/azure-mobile-apps-net-files-client Class Usage Examples

Public Methods

Method Description
AddAsync ( MobileServiceFile file, Stream source ) : System.Threading.Tasks.Task
AttachMetadata ( MobileServiceFile file ) : MobileServiceExpressFile
DeleteAsync ( MobileServiceFile file ) : System.Threading.Tasks.Task
FileSystemStorageProvider ( IFileSystemAccess fileSystem ) : System.IO
GetAsync ( MobileServiceFile file ) : Task

Private Methods

Method Description
GetFileName ( MobileServiceFile file ) : string

Method Details

AddAsync() public method

public AddAsync ( MobileServiceFile file, Stream source ) : System.Threading.Tasks.Task
file MobileServiceFile
source System.IO.Stream
return System.Threading.Tasks.Task

AttachMetadata() public method

public AttachMetadata ( MobileServiceFile file ) : MobileServiceExpressFile
file MobileServiceFile
return MobileServiceExpressFile

DeleteAsync() public method

public DeleteAsync ( MobileServiceFile file ) : System.Threading.Tasks.Task
file MobileServiceFile
return System.Threading.Tasks.Task

FileSystemStorageProvider() public method

public FileSystemStorageProvider ( IFileSystemAccess fileSystem ) : System.IO
fileSystem IFileSystemAccess
return System.IO

GetAsync() public method

public GetAsync ( MobileServiceFile file ) : Task
file MobileServiceFile
return Task