public ICsiDocument CreateDocument(string name) { lock (this) { string str; if (!StringUtil.IsEmptyString(name)) { try { if (this.FindDocument(name) == null) { ICsiDocument document = new CsiDocument(this); this.mDocuments[name] = document; ICsiXmlElement parent = new CsiXmlElement(document, "__session", ((CsiDocument)document).GetRootElement()); if (string.IsNullOrEmpty(this.mPassword)) { this.CreateConnectWithoutPassword(this.mUserName, this.mSessionId, parent); return(document); } this.CreateConnect(this.mUserName, this.mPassword, parent); return(document); } str = base.GetType().FullName + ".createDocument()"; throw new CsiClientException(0x2e0015L, str); } catch (Exception exception) { throw new CsiClientException(-1L, exception, base.GetType().FullName + ".createDocument()"); } } str = base.GetType().FullName + ".createDocument()"; throw new CsiClientException(0x2e0016L, str); } }
public CsiSelectionValuesEx(CsiDocument doc, XmlElement element) : base(doc, element) { }
public CsiSelectionValuesEx(CsiDocument doc, ICsiXmlElement parent) : base(doc, "__selectionValuesEx", parent) { }