protected override void RefreshTag() { IConfigXmlItem colsInXml = this._runtimeFormat.GetSubItem( RuntimeFormatServerContext.ArgKeySummaryCols); Hashtable summaryCols = new Hashtable(); this._tag = summaryCols; if (colsInXml != null) { for (int i = 0; i < colsInXml.SubItemCount; i++) { IConfigXmlItem item = colsInXml.GetSubItem(i); string colKey = item.GetProperty(ConfigXmlContext.XmlKeyId).ToString(); summaryCols[colKey] = item.GetProperty(RuntimeFormatServerContext.XmlKeyOperatorType); } } }
private void Xml2ObjHashtableItems(ConfigXmlItem topElement, string key) { Hashtable ht = this._hashData[key]; ht.Clear(); ConfigXmlItem nodes = topElement.GetSubItem(key) as ConfigXmlItem; for (int i = 0; i < nodes.SubItemCount; i++) { IConfigXmlItem item = nodes.GetSubItem(i); ht.Add(item.GetProperty(ConfigXmlContext.XmlKeyId), item); } }
protected override void RefreshTag() { IConfigXmlItem colsInXml = this._runtimeFormat.GetSubItem( RuntimeFormatServerContext.ArgKeyDymanicAddedCols); ArrayList addedCols = new ArrayList(); this._tag = addedCols; if (colsInXml != null) { for (int i = 0; i < colsInXml.SubItemCount; i++) { IConfigXmlItem item = colsInXml.GetSubItem(i); string colKey = item.GetProperty(ConfigXmlContext.XmlKeyId).ToString(); addedCols.Add(colKey); } } }