public static bool IgnoreListContains(string type, string value) { if (!IgnoreList.ContainsKey(type)) { return(false); } else { return(IgnoreList[type] == value); } }
public List <PropertyInfo> ExcludeProperties(Type x) { return(IgnoreList.ContainsKey(x) ? IgnoreList[x] : new List <PropertyInfo>()); }