Пример #1
0
 public UploadContentRequest(myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string contextID, myAdminTool.OTCSContentService.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 myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string contextID)
 {
     myAdminTool.OTCSContentService.DownloadContentRequest inValue = new myAdminTool.OTCSContentService.DownloadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     myAdminTool.OTCSContentService.DownloadContentResponse retVal = ((myAdminTool.OTCSContentService.ContentService)(this)).DownloadContent(inValue);
     OTAuthentication = retVal.OTAuthentication;
     return(retVal.DownloadContentResult);
 }
Пример #3
0
 public string UploadContent(ref myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string contextID, myAdminTool.OTCSContentService.FileAtts fileAtts, System.IO.Stream contents)
 {
     myAdminTool.OTCSContentService.UploadContentRequest inValue = new myAdminTool.OTCSContentService.UploadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     inValue.fileAtts         = fileAtts;
     inValue.contents         = contents;
     myAdminTool.OTCSContentService.UploadContentResponse retVal = ((myAdminTool.OTCSContentService.ContentService)(this)).UploadContent(inValue);
     OTAuthentication = retVal.OTAuthentication;
     return(retVal.UploadContentResult);
 }
Пример #4
0
 public System.Threading.Tasks.Task <myAdminTool.OTCSContentService.UploadContentResponse> UploadContentAsync(myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string contextID, myAdminTool.OTCSContentService.FileAtts fileAtts, System.IO.Stream contents)
 {
     myAdminTool.OTCSContentService.UploadContentRequest inValue = new myAdminTool.OTCSContentService.UploadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     inValue.fileAtts         = fileAtts;
     inValue.contents         = contents;
     return(((myAdminTool.OTCSContentService.ContentService)(this)).UploadContentAsync(inValue));
 }
Пример #5
0
 public System.Threading.Tasks.Task <myAdminTool.OTCSContentService.DownloadContentResponse> DownloadContentAsync(myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string contextID)
 {
     myAdminTool.OTCSContentService.DownloadContentRequest inValue = new myAdminTool.OTCSContentService.DownloadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     return(((myAdminTool.OTCSContentService.ContentService)(this)).DownloadContentAsync(inValue));
 }
Пример #6
0
 public UploadContentResponse(myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string UploadContentResult)
 {
     this.OTAuthentication    = OTAuthentication;
     this.UploadContentResult = UploadContentResult;
 }
Пример #7
0
 public DownloadContentResponse(myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, System.IO.Stream DownloadContentResult)
 {
     this.OTAuthentication      = OTAuthentication;
     this.DownloadContentResult = DownloadContentResult;
 }
Пример #8
0
 public DownloadContentRequest(myAdminTool.OTCSContentService.OTAuthentication OTAuthentication, string contextID)
 {
     this.OTAuthentication = OTAuthentication;
     this.contextID        = contextID;
 }