internal string GetPropRuleQS(string parname) { foreach (var item in Rules) { MvdRule v = item.FindParameterValuePair("RuleID", parname); if (v != null) { return(v.QueryStack()); } } return(""); }
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); }