private async void load(string url) { HMS.SP.ChangeView spChangeView = await SPGet.getChangeView(spglb.myClient, url); this.add_ChangeView(1, spChangeView); this.hide_running(); }
public int add_ChangeView(int pos, int level, HMS.SP.ChangeView spChangeView) { if (spChangeView.__HMSError_ != null && (spChangeView.__HMSError_.errno != 0 || spChangeView.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spChangeView.__HMSError_)); } pos = this.add__deferred(pos, level, spChangeView.__deferred_); pos = this.add__metadata(pos, level, spChangeView.__metadata_); pos = this.add__rest(pos, level, spChangeView.__rest); pos = this.add_lineAt(pos, level, "ListId", HMS.SP.SPUtil.toString(spChangeView.ListId_)); //Guid; pos = this.add_lineAt(pos, level, "ViewId", HMS.SP.SPUtil.toString(spChangeView.ViewId_)); //Guid; pos = this.add_lineAt(pos, level, "WebId", HMS.SP.SPUtil.toString(spChangeView.WebId_)); //Guid; return(pos); }
public int add_ChangeView_deferred(int pos, int level, HMS.SP.ChangeView spChangeView) { { string useUrl = spChangeView.__deferred_.uri; if (!String.IsNullOrEmpty(useUrl)) { pos = this.add_lineAt(pos, level, false, "ChangeView", "", knownPages.pageChangeView, useUrl); } else { pos = this.add_lineAt(pos, level, true, "ChangeView", "", knownPages.NONE, ""); pos = this.add_ChangeView(pos, level + 1, spChangeView); } } return(pos); }
public int add_ChangeView(int level, HMS.SP.ChangeView spChangeView) { return(add_ChangeView(-1, level, spChangeView)); }