Skip to content
Snippets Groups Projects
Commit 4529bd7a authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

ConfigSection.Contains

parent f833549c
No related branches found
No related tags found
No related merge requests found
......@@ -333,6 +333,10 @@ class ConfigSection: IReadOnlyList<ConfigValue>
throw new ConfigNotDefinedException(this, key);
return r;
}
public bool Contains(string key)
{
return valueByName.ContainsKey(key);
}
public void Print(TextWriter w)
{
w.WriteLine($"### {SectionName}");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment