mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: ini
This commit is contained in:
1 parent
14d9794f57
commit
1d28768bb7
3 files changed
+24
-10
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user