[NF] Gibt nun bei ini-Dateien ganze Bereiche zurück

This commit is contained in:
2017-08-09 15:45:42 +00:00
parent 61a7f1ff7b
commit f9216f7bc9
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -77,6 +77,13 @@ namespace BlubbFish.Utils
return this.cont.Keys.ToList<String>();
}
public Dictionary<String, String> GetSection(String section) {
if(this.cont.Keys.Contains(section)) {
return this.cont[section];
}
return new Dictionary<string, string>();
}
public String GetValue(String section, String key)
{
if (!section.StartsWith("[")) {