public Boolean Contains(String PropertyName) { PropertyName = PropertyName.ToUpper(); if (PropertyName == "THIS") { return(true); } if (StaticValues != null && StaticValues.ContainsKey(PropertyName)) { return(true); } return(DynamicValues.ContainsKey(PropertyName)); }
public Boolean Contains(String PropertyName) { #if CASE_INSENSITIVE PropertyName = PropertyName.ToUpper(); if (PropertyName == "THIS") { return(true); } #else if (PropertyName == "this") { return(true); } #endif return(DynamicValues.ContainsKey(PropertyName)); }