mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-23 03:04:29 +08:00
- 将 ArchitecturePhase 枚举移至 enums 命名空间 - 在多个架构相关文件中添加 enums 命名空间引用 - 修复 IController 接口中的错误命名空间声明 - 统一架构组件的命名空间组织结构
15 lines
516 B
C#
15 lines
516 B
C#
using GFramework.Core.Abstractions.enums;
|
|
|
|
namespace GFramework.Core.Abstractions.architecture;
|
|
|
|
/// <summary>
|
|
/// 定义架构阶段感知接口,用于在架构的不同阶段执行相应的逻辑
|
|
/// </summary>
|
|
public interface IArchitecturePhaseAware
|
|
{
|
|
/// <summary>
|
|
/// 当架构进入指定阶段时触发的回调方法
|
|
/// </summary>
|
|
/// <param name="phase">架构阶段枚举值,表示当前所处的架构阶段</param>
|
|
void OnArchitecturePhase(ArchitecturePhase phase);
|
|
} |