예제 #1
0
 public UploadContentRequest(WindowsService.ContentService.OTAuthentication OTAuthentication, string contextID, WindowsService.ContentService.FileAtts fileAtts, System.IO.Stream contents)
 {
     this.OTAuthentication = OTAuthentication;
     this.contextID        = contextID;
     this.fileAtts         = fileAtts;
     this.contents         = contents;
 }
예제 #2
0
 public System.IO.Stream DownloadContent(ref WindowsService.ContentService.OTAuthentication OTAuthentication, string contextID)
 {
     WindowsService.ContentService.DownloadContentRequest inValue = new WindowsService.ContentService.DownloadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     WindowsService.ContentService.DownloadContentResponse retVal = ((WindowsService.ContentService.ContentService)(this)).DownloadContent(inValue);
     OTAuthentication = retVal.OTAuthentication;
     return(retVal.DownloadContentResult);
 }
예제 #3
0
 public string UploadContent(ref WindowsService.ContentService.OTAuthentication OTAuthentication, string contextID, WindowsService.ContentService.FileAtts fileAtts, System.IO.Stream contents)
 {
     WindowsService.ContentService.UploadContentRequest inValue = new WindowsService.ContentService.UploadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     inValue.fileAtts         = fileAtts;
     inValue.contents         = contents;
     WindowsService.ContentService.UploadContentResponse retVal = ((WindowsService.ContentService.ContentService)(this)).UploadContent(inValue);
     OTAuthentication = retVal.OTAuthentication;
     return(retVal.UploadContentResult);
 }
예제 #4
0
 public UploadContentResponse(WindowsService.ContentService.OTAuthentication OTAuthentication, string UploadContentResult)
 {
     this.OTAuthentication    = OTAuthentication;
     this.UploadContentResult = UploadContentResult;
 }
예제 #5
0
 public DownloadContentResponse(WindowsService.ContentService.OTAuthentication OTAuthentication, System.IO.Stream DownloadContentResult)
 {
     this.OTAuthentication      = OTAuthentication;
     this.DownloadContentResult = DownloadContentResult;
 }
예제 #6
0
 public DownloadContentRequest(WindowsService.ContentService.OTAuthentication OTAuthentication, string contextID)
 {
     this.OTAuthentication = OTAuthentication;
     this.contextID        = contextID;
 }