From 8f6c453c1aa8e52e93a1f2ceb35d343811228723 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sun, 5 Apr 2026 13:18:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(architectures):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=B3=A8=E5=85=A5=E6=9C=8D=E5=8A=A1=E5=BC=95?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Architecture.cs 中引入 Microsoft.Extensions.DependencyInjection 命名空间 - 在 ArchitectureComponentActivator.cs 中引入 Microsoft.Extensions.DependencyInjection 命名空间 - 为架构组件激活器增加依赖注入支持 - 统一架构层的服务注册机制 --- GFramework.Core/Architectures/Architecture.cs | 1 + GFramework.Core/Architectures/ArchitectureComponentActivator.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/GFramework.Core/Architectures/Architecture.cs b/GFramework.Core/Architectures/Architecture.cs index ff12d133..39b4fd13 100644 --- a/GFramework.Core/Architectures/Architecture.cs +++ b/GFramework.Core/Architectures/Architecture.cs @@ -7,6 +7,7 @@ using GFramework.Core.Abstractions.Systems; using GFramework.Core.Abstractions.Utility; using GFramework.Core.Environment; using GFramework.Core.Logging; +using Microsoft.Extensions.DependencyInjection; namespace GFramework.Core.Architectures; diff --git a/GFramework.Core/Architectures/ArchitectureComponentActivator.cs b/GFramework.Core/Architectures/ArchitectureComponentActivator.cs index 3c2b3c80..88afa810 100644 --- a/GFramework.Core/Architectures/ArchitectureComponentActivator.cs +++ b/GFramework.Core/Architectures/ArchitectureComponentActivator.cs @@ -1,5 +1,6 @@ using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; +using Microsoft.Extensions.DependencyInjection; namespace GFramework.Core.Architectures;