コード例 #1
0
 public bool Upload(WCFTestConsoleAPP.DictService.DictionaryInfo DictInfo, System.IO.Stream Stream)
 {
     WCFTestConsoleAPP.DictService.UploadRequest inValue = new WCFTestConsoleAPP.DictService.UploadRequest();
     inValue.DictInfo = DictInfo;
     inValue.Stream   = Stream;
     WCFTestConsoleAPP.DictService.UploadResponse retVal = ((WCFTestConsoleAPP.DictService.IFileUpload)(this)).Upload(inValue);
     return(retVal.UploadSucceeded);
 }
コード例 #2
0
 public System.Threading.Tasks.Task <WCFTestConsoleAPP.DictService.UploadResponse> UploadAsync(WCFTestConsoleAPP.DictService.DictionaryInfo DictInfo, System.IO.Stream Stream)
 {
     WCFTestConsoleAPP.DictService.UploadRequest inValue = new WCFTestConsoleAPP.DictService.UploadRequest();
     inValue.DictInfo = DictInfo;
     inValue.Stream   = Stream;
     return(((WCFTestConsoleAPP.DictService.IFileUpload)(this)).UploadAsync(inValue));
 }
コード例 #3
0
 public UploadRequest(WCFTestConsoleAPP.DictService.DictionaryInfo DictInfo, System.IO.Stream Stream)
 {
     this.DictInfo = DictInfo;
     this.Stream   = Stream;
 }