示例#1
0
 public string DownloadFile(ref int fileId, out System.IO.Stream FileByteStream)
 {
     Messenger.UI.MessengerService.DownloadFileRequest inValue = new Messenger.UI.MessengerService.DownloadFileRequest();
     inValue.fileId = fileId;
     Messenger.UI.MessengerService.DownloadFileInfo retVal = ((Messenger.UI.MessengerService.IMessengerService)(this)).DownloadFile(inValue);
     fileId         = retVal.fileId;
     FileByteStream = retVal.FileByteStream;
     return(retVal.fileName);
 }
示例#2
0
 public System.Threading.Tasks.Task <Messenger.UI.MessengerService.DownloadFileInfo> DownloadFileAsync(int fileId)
 {
     Messenger.UI.MessengerService.DownloadFileRequest inValue = new Messenger.UI.MessengerService.DownloadFileRequest();
     inValue.fileId = fileId;
     return(((Messenger.UI.MessengerService.IMessengerService)(this)).DownloadFileAsync(inValue));
 }
示例#3
0
 System.Threading.Tasks.Task <Messenger.UI.MessengerService.DownloadFileInfo> Messenger.UI.MessengerService.IMessengerService.DownloadFileAsync(Messenger.UI.MessengerService.DownloadFileRequest request)
 {
     return(base.Channel.DownloadFileAsync(request));
 }
示例#4
0
 Messenger.UI.MessengerService.DownloadFileInfo Messenger.UI.MessengerService.IMessengerService.DownloadFile(Messenger.UI.MessengerService.DownloadFileRequest request)
 {
     return(base.Channel.DownloadFile(request));
 }