private async void load(string url)
        {
            HMS.SP.WebInfoCreationInformation spWebInfoCreationInformation = await SPGet.getWebInfoCreationInformation(spglb.myClient, url);

            this.add_WebInfoCreationInformation(1, spWebInfoCreationInformation);
            this.hide_running();
        }
 public int  add_WebInfoCreationInformation(int pos, int level, HMS.SP.WebInfoCreationInformation spWebInfoCreationInformation)
 {
     if (spWebInfoCreationInformation.__HMSError_ != null && (spWebInfoCreationInformation.__HMSError_.errno != 0 || spWebInfoCreationInformation.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spWebInfoCreationInformation.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spWebInfoCreationInformation.__deferred_);
     pos = this.add__metadata(pos, level, spWebInfoCreationInformation.__metadata_);
     pos = this.add__rest(pos, level, spWebInfoCreationInformation.__rest);
     pos = this.add_lineAt(pos, level, "Description", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.Description_));                   //String;
     pos = this.add_lineAt(pos, level, "Language", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.Language_));                         //Int32;
     pos = this.add_lineAt(pos, level, "Title", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.Title_));                               //String;
     pos = this.add_lineAt(pos, level, "Url", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.Url_));                                   //String;
     pos = this.add_lineAt(pos, level, "UseUniquePermissions", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.UseUniquePermissions_)); //Boolean;
     pos = this.add_lineAt(pos, level, "WebTemplate", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.WebTemplate_));                   //String;
     return(pos);
 }
 public int add_WebInfoCreationInformation_deferred(int pos, int level, HMS.SP.WebInfoCreationInformation spWebInfoCreationInformation)
 {
     if (spWebInfoCreationInformation.TitleResource_.uri == null)
     {
         pos = this.add_lineAt(pos, level, true, "WebInfoCreationInformation", HMS.SP.SPUtil.toString(spWebInfoCreationInformation.Title_), knownPages.NONE, ""); //String;
         pos = add_WebInfoCreationInformation(pos, level + 1, spWebInfoCreationInformation);
     }
     else
     {
         string useUrl = spWebInfoCreationInformation.__deferred_.uri;
         if (String.IsNullOrEmpty(useUrl))
         {
             useUrl = spWebInfoCreationInformation.TitleResource_.uri.Replace("/TitleResource", "");
         }
         pos = this.add_lineAt(pos, level, false, spWebInfoCreationInformation.Title_, "", knownPages.pageWebInfoCreationInformation, useUrl);
     }
     return(pos);
 }
 public int add_WebInfoCreationInformation(int level, HMS.SP.WebInfoCreationInformation spWebInfoCreationInformation)
 {
     return(add_WebInfoCreationInformation(-1, level, spWebInfoCreationInformation));
 }