C# 클래스 Httpfsc.Business.Http.HttpFileSystemProxy

Proxy au système de fichiers distribués.
상속: IHttpFileSystemProxy
파일 보기 프로젝트 열기: SGrondin/httpfs

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CreateDirectory ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task

Create a directory.

CreateEmptyFile ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task

Create empty file.

DeleteDirectory ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task

Delete a directory.

DeleteFile ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task

Delete a file.

DownloadFile ( Url path, Url to, string>.Action errorHandler ) : System.Threading.Tasks.Task

Download a file.

HttpFileSystemProxy ( IHttpFileSystemProxyConfig config ) : System
ListDirectory ( Url path, string>.Action errorHandler ) : Task

Get the contents of a directory.

UploadFile ( Url to, string file, string>.Action errorHandler ) : System.Threading.Tasks.Task

Upload a file.

메소드 상세

CreateDirectory() 공개 메소드

Create a directory.
public CreateDirectory ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task
path Url Le chemin relatif distant du fichier à créer.
errorHandler string>.Action The error handler.
리턴 System.Threading.Tasks.Task

CreateEmptyFile() 공개 메소드

Create empty file.
public CreateEmptyFile ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task
path Url Remote relative path to write the file.
errorHandler string>.Action The error handler.
리턴 System.Threading.Tasks.Task

DeleteDirectory() 공개 메소드

Delete a directory.
public DeleteDirectory ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task
path Url Remote relative path of the directory to be deleted.
errorHandler string>.Action The error handler.
리턴 System.Threading.Tasks.Task

DeleteFile() 공개 메소드

Delete a file.
public DeleteFile ( Url path, string>.Action errorHandler ) : System.Threading.Tasks.Task
path Url Remote relative path of the file to be deleted.
errorHandler string>.Action The error handler.
리턴 System.Threading.Tasks.Task

DownloadFile() 공개 메소드

Download a file.
Si path indique un répertoire.
public DownloadFile ( Url path, Url to, string>.Action errorHandler ) : System.Threading.Tasks.Task
path Url Remote relative path of file to download.
to Url Local absolute path to write the file.
errorHandler string>.Action The error handler.
리턴 System.Threading.Tasks.Task

HttpFileSystemProxy() 공개 메소드

public HttpFileSystemProxy ( IHttpFileSystemProxyConfig config ) : System
config IHttpFileSystemProxyConfig
리턴 System

ListDirectory() 공개 메소드

Get the contents of a directory.
public ListDirectory ( Url path, string>.Action errorHandler ) : Task
path Url Remote relative path.
errorHandler string>.Action The error handler.
리턴 Task

UploadFile() 공개 메소드

Upload a file.
public UploadFile ( Url to, string file, string>.Action errorHandler ) : System.Threading.Tasks.Task
to Url Remote relative path to write the file.
file string Local absolute path of file to upload.
errorHandler string>.Action The error handler.
리턴 System.Threading.Tasks.Task