Skip to content

Conversation

myty
Copy link
Contributor

@myty myty commented Oct 27, 2019

Initial start to addressing #12.

@@ -17,7 +18,10 @@ public CompositeSettingsDictionary()
_dictionaries = new List<SettingsDictionary>();
}

public void Add(SettingsDictionary settingsDictionary)
public IEnumerable<string> Keys
=> _dictionaries.Cast<IDictionary<string, string>>().SelectMany(d => d.Keys);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cast is redundant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants