internal bool AppConfigMatchMatch(IEnumerable <KeyValuePair <string, string> > presentFlags, AppConfigProvider provider) { var result = presentFlags.Where(k => provider.ContainsKey(k.Key)) .All(k => k.Value.Equals(provider.GetValue(k.Key))); return(result); }