private async void load(string url) { HMS.SP.ChangeAlert spChangeAlert = await SPGet.getChangeAlert(spglb.myClient, url); this.add_ChangeAlert(1, spChangeAlert); this.hide_running(); }
public int add_ChangeAlert(int pos, int level, HMS.SP.ChangeAlert spChangeAlert) { if (spChangeAlert.__HMSError_ != null && (spChangeAlert.__HMSError_.errno != 0 || spChangeAlert.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spChangeAlert.__HMSError_)); } pos = this.add__deferred(pos, level, spChangeAlert.__deferred_); pos = this.add__metadata(pos, level, spChangeAlert.__metadata_); pos = this.add__rest(pos, level, spChangeAlert.__rest); pos = this.add_lineAt(pos, level, "AlertId", HMS.SP.SPUtil.toString(spChangeAlert.AlertId_)); //Guid; pos = this.add_lineAt(pos, level, "WebId", HMS.SP.SPUtil.toString(spChangeAlert.WebId_)); //Guid; return(pos); }
public int add_ChangeAlert_deferred(int pos, int level, HMS.SP.ChangeAlert spChangeAlert) { { string useUrl = spChangeAlert.__deferred_.uri; if (!String.IsNullOrEmpty(useUrl)) { pos = this.add_lineAt(pos, level, false, "ChangeAlert", "", knownPages.pageChangeAlert, useUrl); } else { pos = this.add_lineAt(pos, level, true, "ChangeAlert", "", knownPages.NONE, ""); pos = this.add_ChangeAlert(pos, level + 1, spChangeAlert); } } return(pos); }
public int add_ChangeAlert(int level, HMS.SP.ChangeAlert spChangeAlert) { return(add_ChangeAlert(-1, level, spChangeAlert)); }