public virtual void SetObjectId(string id) { if (!(base.FindChildByName("__Id") is CsiDataField impl)) { impl = new CsiDataField(this.GetOwnerDocument(), "__Id", this); } impl.SetValue(id); }
public ICsiDataField AppendItem(string val) { ICsiDataField impl = new CsiDataField(this.GetOwnerDocument(), "__listItem", this); impl.SetAttribute("__listItemAction", "add"); impl.SetValue(val); return(impl); }
private void CreateConnectWithoutPassword(string userName, string sessionId, ICsiXmlElement parent) { ICsiDocument document = parent.GetOwnerDocument(); ICsiXmlElement element = new CsiXmlElement(document, "__useSession", parent); ICsiNamedObject obj2 = new CsiNamedObject(document, "user", element); obj2.SetRef(userName); ICsiDataField field = new CsiDataField(document, "sessionId", element); field.SetAttribute("__encrypted", "no"); field.SetValue(sessionId); }