feat: IConfiguration for system and other configurations

This commit is contained in:
2026-02-09 13:15:13 +03:00
parent 32a7e9be24
commit 3b1c291588
4 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
namespace Engine.Core.Config;
public class SystemConfiguration : BasicConfiguration, IConfiguration
{
public SystemConfiguration()
{
foreach (System.Collections.DictionaryEntry entry in System.Environment.GetEnvironmentVariables())
if (entry is { Key: string key, Value: not null })
Set(key, entry.Value);
}
}