Ejemplo n.º 1
0
 public System.Threading.Tasks.Task <Messenger.UI.MessengerService.UploadFileInfo> UploadFileAsync(string filePath, System.IO.Stream FileByteStream)
 {
     Messenger.UI.MessengerService.UploadFileRequest inValue = new Messenger.UI.MessengerService.UploadFileRequest();
     inValue.filePath       = filePath;
     inValue.FileByteStream = FileByteStream;
     return(((Messenger.UI.MessengerService.IMessengerService)(this)).UploadFileAsync(inValue));
 }
Ejemplo n.º 2
0
 public Messenger.BLL.DTO.FileDTO UploadFile(string filePath, System.IO.Stream FileByteStream)
 {
     Messenger.UI.MessengerService.UploadFileRequest inValue = new Messenger.UI.MessengerService.UploadFileRequest();
     inValue.filePath       = filePath;
     inValue.FileByteStream = FileByteStream;
     Messenger.UI.MessengerService.UploadFileInfo retVal = ((Messenger.UI.MessengerService.IMessengerService)(this)).UploadFile(inValue);
     return(retVal.file);
 }
Ejemplo n.º 3
0
 System.Threading.Tasks.Task <Messenger.UI.MessengerService.UploadFileInfo> Messenger.UI.MessengerService.IMessengerService.UploadFileAsync(Messenger.UI.MessengerService.UploadFileRequest request)
 {
     return(base.Channel.UploadFileAsync(request));
 }
Ejemplo n.º 4
0
 Messenger.UI.MessengerService.UploadFileInfo Messenger.UI.MessengerService.IMessengerService.UploadFile(Messenger.UI.MessengerService.UploadFileRequest request)
 {
     return(base.Channel.UploadFile(request));
 }