Пример #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.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));
 }
Пример #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);
 }