private async void load(string url)
        {
            HMS.SP.FileSaveBinaryInformation spFileSaveBinaryInformation = await SPGet.getFileSaveBinaryInformation(spglb.myClient, url);

            this.add_FileSaveBinaryInformation(1, spFileSaveBinaryInformation);
            this.hide_running();
        }
Example #2
0
 public int  add_FileSaveBinaryInformation(int pos, int level, HMS.SP.FileSaveBinaryInformation spFileSaveBinaryInformation)
 {
     if (spFileSaveBinaryInformation.__HMSError_ != null && (spFileSaveBinaryInformation.__HMSError_.errno != 0 || spFileSaveBinaryInformation.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spFileSaveBinaryInformation.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spFileSaveBinaryInformation.__deferred_);
     pos = this.add__metadata(pos, level, spFileSaveBinaryInformation.__metadata_);
     pos = this.add__rest(pos, level, spFileSaveBinaryInformation.__rest);
     pos = this.add_lineAt(pos, level, "CheckRequiredFields", HMS.SP.SPUtil.toString(spFileSaveBinaryInformation.CheckRequiredFields_)); //BOOLEAN;
     pos = this.add_lineAt(pos, level, "Content", HMS.SP.SPUtil.toString(spFileSaveBinaryInformation.Content_));                         //Object;
     pos = this.add_lineAt(pos, level, "ETag", HMS.SP.SPUtil.toString(spFileSaveBinaryInformation.ETag_));                               //Object;
     pos = this.add_lineAt(pos, level, "FieldValues", HMS.SP.SPUtil.toString(spFileSaveBinaryInformation.FieldValues_));                 //Dictionary;
     pos = this.add_lineAt(pos, level, "TypeId", HMS.SP.SPUtil.toString(spFileSaveBinaryInformation.TypeId_));                           //String;
     return(pos);
 }
Example #3
0
 public int add_FileSaveBinaryInformation_deferred(int pos, int level, HMS.SP.FileSaveBinaryInformation spFileSaveBinaryInformation)
 {
     {
         string useUrl = spFileSaveBinaryInformation.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "FileSaveBinaryInformation", "", knownPages.pageFileSaveBinaryInformation, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "FileSaveBinaryInformation", "", knownPages.NONE, "");
             pos = this.add_FileSaveBinaryInformation(pos, level + 1, spFileSaveBinaryInformation);
         }
     }
     return(pos);
 }
Example #4
0
 public int add_FileSaveBinaryInformation(int level, HMS.SP.FileSaveBinaryInformation spFileSaveBinaryInformation)
 {
     return(add_FileSaveBinaryInformation(-1, level, spFileSaveBinaryInformation));
 }