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