C# Class Praeclarum.IO.DropboxFileSystem

Inheritance: IFileSystem
Show file Open project: praeclarum/Praeclarum Class Usage Examples

Public Methods

Method Description
CreateDirectory ( string path ) : Task
CreateFile ( string path, byte contents ) : Task
DeleteFile ( string path ) : Task
DropboxCreateFolderAsync ( string path, string parentRev, string sourcePath ) : Task
DropboxDeletePathAsync ( string path ) : Task
DropboxFileSystem ( DBAccount account, DropBoxSync.iOS.DBFilesystem filesystem ) : System
DropboxFileSystem ( Session session ) : System
DropboxLoadAccountInfoAsync ( ) : Task
DropboxLoadFileAsync ( string path, string destinationPath ) : Task
DropboxLoadMetadataAsync ( string path ) : Task
DropboxMovePathAsync ( string fromPath, string toPath ) : Task
DropboxUploadFileAsync ( string path, string parentRev, string sourcePath ) : Task
FileExists ( string path ) : Task
GetClient ( ) : RestClient
GetFile ( string path ) : Task
GetLocalPath ( string path ) : string
Initialize ( ) : Task
ListFiles ( string directory ) : Task>
Move ( string fromPath, string toPath ) : Task
ToString ( ) : string

Private Methods

Method Description
GetDropboxFile ( Metadata meta ) : DropboxFile
OnFilesChanged ( ) : void

Method Details

CreateDirectory() public method

public CreateDirectory ( string path ) : Task
path string
return Task

CreateFile() public method

public CreateFile ( string path, byte contents ) : Task
path string
contents byte
return Task

DeleteFile() public method

public DeleteFile ( string path ) : Task
path string
return Task

DropboxCreateFolderAsync() public method

public DropboxCreateFolderAsync ( string path, string parentRev, string sourcePath ) : Task
path string
parentRev string
sourcePath string
return Task

DropboxDeletePathAsync() public method

public DropboxDeletePathAsync ( string path ) : Task
path string
return Task

DropboxFileSystem() public method

public DropboxFileSystem ( DBAccount account, DropBoxSync.iOS.DBFilesystem filesystem ) : System
account DBAccount
filesystem DropBoxSync.iOS.DBFilesystem
return System

DropboxFileSystem() public method

public DropboxFileSystem ( Session session ) : System
session Session
return System

DropboxLoadAccountInfoAsync() public method

public DropboxLoadAccountInfoAsync ( ) : Task
return Task

DropboxLoadFileAsync() public method

public DropboxLoadFileAsync ( string path, string destinationPath ) : Task
path string
destinationPath string
return Task

DropboxLoadMetadataAsync() public method

public DropboxLoadMetadataAsync ( string path ) : Task
path string
return Task

DropboxMovePathAsync() public method

public DropboxMovePathAsync ( string fromPath, string toPath ) : Task
fromPath string
toPath string
return Task

DropboxUploadFileAsync() public method

public DropboxUploadFileAsync ( string path, string parentRev, string sourcePath ) : Task
path string
parentRev string
sourcePath string
return Task

FileExists() public method

public FileExists ( string path ) : Task
path string
return Task

GetClient() public method

public GetClient ( ) : RestClient
return RestClient

GetFile() public method

public GetFile ( string path ) : Task
path string
return Task

GetLocalPath() public method

public GetLocalPath ( string path ) : string
path string
return string

Initialize() public method

public Initialize ( ) : Task
return Task

ListFiles() public method

public ListFiles ( string directory ) : Task>
directory string
return Task>

Move() public method

public Move ( string fromPath, string toPath ) : Task
fromPath string
toPath string
return Task

ToString() public method

public ToString ( ) : string
return string