refactor(config): 更新配置加载器依赖项

- 在YamlConfigLoader中添加YamlDotNet序列化库引用
- 移除YamlConfigSchemaValidator中的未使用引用
- 在全局引用中添加YAML处理相关库引用
- 优化配置模块的依赖管理和命名空间使用
This commit is contained in:
GeWuYou 2026-03-31 22:32:57 +08:00
parent b87e511334
commit ae9693e0ff
3 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,6 @@
using System.IO;
using GFramework.Game.Abstractions.Config; using GFramework.Game.Abstractions.Config;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace GFramework.Game.Config; namespace GFramework.Game.Config;

View File

@ -1,7 +1,3 @@
using System.Globalization;
using System.IO;
using System.Text.Json;
namespace GFramework.Game.Config; namespace GFramework.Game.Config;
/// <summary> /// <summary>

View File

@ -16,4 +16,8 @@ global using System.Collections.Generic;
global using System.Collections.Concurrent; global using System.Collections.Concurrent;
global using System.Linq; global using System.Linq;
global using System.Threading; global using System.Threading;
global using System.Threading.Tasks; global using System.Threading.Tasks;
global using System.Globalization;
global using System.IO;
global using System.Text.Json;
global using YamlDotNet.RepresentationModel;