mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 将 IArchitectureLifecycle 重命名为 IArchitectureLifecycleHook - 将 IArchitecturePhaseAware 重命名为 IArchitecturePhaseListener - 更新内部生命周期钩子集合类型为 IArchitectureLifecycleHook - 更新 NotifyPhaseAwareObjects 方法中的类型引用 - 移除 IArchitectureModule 对生命周期接口的继承 - 更新 IModel 和 ISystem 接口中的相位感知类型引用 - 删除废弃的 AbstractModule 抽象类
14 lines
476 B
C#
14 lines
476 B
C#
namespace GFramework.Core.Abstractions.architecture;
|
|
|
|
/// <summary>
|
|
/// 架构模块接口,继承自架构生命周期接口。
|
|
/// 定义了模块安装到架构中的标准方法。
|
|
/// </summary>
|
|
public interface IArchitectureModule
|
|
{
|
|
/// <summary>
|
|
/// 将当前模块安装到指定的架构中。
|
|
/// </summary>
|
|
/// <param name="architecture">要安装模块的目标架构实例。</param>
|
|
void Install(IArchitecture architecture);
|
|
} |