Beispiel #1
0
 public System.IAsyncResult BeginFileUpload(Client.S3Connection.FileData fileData, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = fileData;
     System.IAsyncResult _result = base.BeginInvoke("FileUpload", _args, callback, asyncState);
     return(_result);
 }
Beispiel #2
0
 public void FileUploadAsync(Client.S3Connection.FileData fileData, object userState)
 {
     if ((this.onBeginFileUploadDelegate == null))
     {
         this.onBeginFileUploadDelegate = new BeginOperationDelegate(this.OnBeginFileUpload);
     }
     if ((this.onEndFileUploadDelegate == null))
     {
         this.onEndFileUploadDelegate = new EndOperationDelegate(this.OnEndFileUpload);
     }
     if ((this.onFileUploadCompletedDelegate == null))
     {
         this.onFileUploadCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnFileUploadCompleted);
     }
     base.InvokeAsync(this.onBeginFileUploadDelegate, new object[] {
         fileData
     }, this.onEndFileUploadDelegate, this.onFileUploadCompletedDelegate, userState);
 }
Beispiel #3
0
 private System.IAsyncResult OnBeginFileUpload(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Client.S3Connection.FileData fileData = ((Client.S3Connection.FileData)(inValues[0]));
     return(((Client.S3Connection.IS3Connection)(this)).BeginFileUpload(fileData, callback, asyncState));
 }
Beispiel #4
0
 public void FileUploadAsync(Client.S3Connection.FileData fileData)
 {
     this.FileUploadAsync(fileData, null);
 }
Beispiel #5
0
 System.IAsyncResult Client.S3Connection.IS3Connection.BeginFileUpload(Client.S3Connection.FileData fileData, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginFileUpload(fileData, callback, asyncState));
 }