feat: ini

This commit is contained in:
tresabhi committed 2025-02-25 18:28:08 -06:00
1 parent 14d9794f57
commit 1d28768bb7
3 files changed
+24 -10

No files matched your search

+1 -3
View File
@@ -5,10 +5,8 @@ namespace BlitzKit.CLI.Utils
private readonly Dictionary<string, string> strings = [];
private readonly Dictionary<string, List<string>> arrays = [];
public IniParser(string file)
public IniParser(string content)
{
string content = File.ReadAllText(file);
foreach (string line in content.Split('\n'))
{
if (string.IsNullOrWhiteSpace(line))