예제 #1
0
 internal string GetPropRuleQS(string parname)
 {
     foreach (var item in Rules)
     {
         MvdRule v = item.FindParameterValuePair("RuleID", parname);
         if (v != null)
         {
             return(v.QueryStack());
         }
     }
     return("");
 }
예제 #2
0
        internal string QueryStack()
        {
            string pqs = "";

            if (Parent != null)
            {
                pqs = Parent.QueryStack();
            }
            if (Type == "AttributeRule" && Properties.ContainsKey("AttributeName"))
            {
                if (pqs != "")
                {
                    return(pqs + " " + Properties["AttributeName"]);
                }
                return(Properties["AttributeName"]);
            }
            return(pqs);
        }