mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 在AbstractModel和AbstractSystem中添加OnArchitecturePhase虚方法实现 - 修改Architecture类移除IArchitectureLifecycle接口和OnPhase方法 - 更新IModel和ISystem接口继承IArchitecturePhaseAware接口 - 修改AbstractResourceFactorySystem实现IArchitecturePhaseAware接口 - 在测试类TestModel和TestSystem中添加OnArchitecturePhase方法实现 - 在项目文件中添加对生成器相关目录的排除配置 - 将ArchitecturePhase枚举引入到相关文件中
15 lines
383 B
C#
15 lines
383 B
C#
using GFramework.Core.Abstractions.architecture;
|
|
using GFramework.Core.Abstractions.rule;
|
|
|
|
namespace GFramework.Core.Abstractions.model;
|
|
|
|
/// <summary>
|
|
/// 模型接口,定义了模型的基本行为和功能
|
|
/// </summary>
|
|
public interface IModel : IContextAware, IArchitecturePhaseAware
|
|
{
|
|
/// <summary>
|
|
/// 初始化模型
|
|
/// </summary>
|
|
void Init();
|
|
} |