示例#1
0
 public string GetAttrValue(XmlNode ActiveNode, string AttrName)
 {
     if (ActiveNode == null)
     {
         return("");
     }
     else
     {
         string attrResult = Util_XmlOperHelper.GetAttrValue(ActiveNode, AttrName);
         string result     = attrResult;
         if (isDesMode)
         {
             result = _objectDes.AesDecrypt(attrResult);
         }
         return(result);
     }
 }
示例#2
0
 public string GetAttrValue(XmlNode ActiveNode, string AttrName, bool IsInternalPluginUsed, string configKey)
 {
     if (ActiveNode == null)
     {
         return("");
     }
     else
     {
         string attrResult = Util_XmlOperHelper.GetAttrValue(ActiveNode, AttrName);
         string result     = attrResult;
         if (IsInternalPluginUsed && refInternalPlugin != null)
         {
             Dictionary <string, string> paramsDirc = new Dictionary <string, string>();
             paramsDirc.Add("key", configKey);
             paramsDirc.Add("value", attrResult);
             paramsDirc.Add("return", "");
             refInternalPlugin.actionGet(paramsDirc);
             result = paramsDirc["return"].ToString();
         }
         return(result);
     }
 }