mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 17:21:16 +08:00
- 修复 Core、Cqrs、Godot 与 Game 模块中的异常契约、空值校验和线程亲和性问题 - 更新 Settings API 为 ApplyAsync 并同步实现、调用点、测试与中文文档 - 补充 AGENTS.md 中的构建校验、自动提交与分支创建规则 - 整理 Logging、WeakCache 与 Resource 相关实现的行为与文档一致性
17 lines
499 B
C#
17 lines
499 B
C#
namespace GFramework.Game.Abstractions.Setting;
|
||
|
||
/// <summary>
|
||
/// 定义可应用设置的接口,继承自ISettingsSection
|
||
/// </summary>
|
||
public interface IApplyAbleSettings : ISettingsSection
|
||
{
|
||
/// <summary>
|
||
/// 异步应用当前设置到目标系统中。
|
||
/// </summary>
|
||
/// <returns>
|
||
/// 表示应用流程完成的任务。
|
||
/// 对于仅执行同步引擎调用的实现,可以返回已完成任务。
|
||
/// </returns>
|
||
Task ApplyAsync();
|
||
}
|