C# 클래스 Moxiecode.Plupload.FileReference

Description of File.
파일 보기 프로젝트 열기: neil-chen/NeilChen 1 사용 예제들

공개 메소드들

메소드 설명
CancelUpload ( ) : void

Cancels uploading the current file.

FileReference ( string id, FileInfo info ) : System

Main constructor for the file reference.

Upload ( string upload_url, string json_settings ) : void

Uploads the file to the specific url and using the specified chunk_size.

UploadNextChunk ( ) : bool

Uploads the next chunk if there are more in queue.

보호된 메소드들

메소드 설명
OnIOError ( ErrorEventArgs e ) : void
OnProgress ( ProgressEventArgs e ) : void
OnUploadChunkComplete ( UploadEventArgs e ) : void
OnUploadComplete ( UploadEventArgs e ) : void

비공개 메소드들

메소드 설명
Debug ( string msg ) : void
DisposeStreams ( ) : void
ExtractResponse ( object state ) : void
ReadByteRange ( byte buffer, long position, int offset, int count ) : int
RequestStreamCallback ( IAsyncResult ar ) : void
ResizeImage ( Stream image_stream, int width, int height, int quality, ImageType type ) : Stream
ResponseCallback ( IAsyncResult ar ) : void
StrToByteArray ( string str ) : byte[]

메소드 상세

CancelUpload() 공개 메소드

Cancels uploading the current file.
public CancelUpload ( ) : void
리턴 void

FileReference() 공개 메소드

Main constructor for the file reference.
public FileReference ( string id, FileInfo info ) : System
id string Unique file id for item.
info System.IO.FileInfo FileInfo that got returned from a file selection.
리턴 System

OnIOError() 보호된 메소드

protected OnIOError ( ErrorEventArgs e ) : void
e ErrorEventArgs
리턴 void

OnProgress() 보호된 메소드

protected OnProgress ( ProgressEventArgs e ) : void
e ProgressEventArgs
리턴 void

OnUploadChunkComplete() 보호된 메소드

protected OnUploadChunkComplete ( UploadEventArgs e ) : void
e UploadEventArgs
리턴 void

OnUploadComplete() 보호된 메소드

protected OnUploadComplete ( UploadEventArgs e ) : void
e UploadEventArgs
리턴 void

Upload() 공개 메소드

Uploads the file to the specific url and using the specified chunk_size.
public Upload ( string upload_url, string json_settings ) : void
upload_url string URL to upload to.
json_settings string
리턴 void

UploadNextChunk() 공개 메소드

Uploads the next chunk if there are more in queue.
public UploadNextChunk ( ) : bool
리턴 bool