public static bool hasTrueKey(this IniParser.Model.KeyDataCollection keyDatas, string key) { return(keyDatas.ContainsKey(key) && keyDatas[key].ToLower() == "true"); }
private static string GetValue(IniParser.Model.KeyDataCollection keys, string name) { return(keys.ContainsKey(name) ? keys[name] : ""); }