Esempio n. 1
0
 public void UploadFile(string FileName, string SavePath, System.IO.Stream FileData)
 {
     UpLoadWebApplication.UpLoadService.FileUploadMessage inValue = new UpLoadWebApplication.UpLoadService.FileUploadMessage();
     inValue.FileName = FileName;
     inValue.SavePath = SavePath;
     inValue.FileData = FileData;
     ((UpLoadWebApplication.UpLoadService.IUpLoadService)(this)).UploadFile(inValue);
 }
Esempio n. 2
0
 public int UploadFile(string FileName, int UserId, System.IO.Stream FileData, out bool Result)
 {
     UpLoadWebApplication.UpLoadService.FileUploadMessage inValue = new UpLoadWebApplication.UpLoadService.FileUploadMessage();
     inValue.FileName = FileName;
     inValue.UserId   = UserId;
     inValue.FileData = FileData;
     UpLoadWebApplication.UpLoadService.UploadResult retVal = ((UpLoadWebApplication.UpLoadService.IUpLoadService)(this)).UploadFile(inValue);
     Result = retVal.Result;
     return(retVal.Id);
 }
Esempio n. 3
0
 UpLoadWebApplication.UpLoadService.UploadResult UpLoadWebApplication.UpLoadService.IUpLoadService.UploadFile(UpLoadWebApplication.UpLoadService.FileUploadMessage request)
 {
     return(base.Channel.UploadFile(request));
 }
Esempio n. 4
0
 void UpLoadWebApplication.UpLoadService.IUpLoadService.UploadFile(UpLoadWebApplication.UpLoadService.FileUploadMessage request)
 {
     base.Channel.UploadFile(request);
 }