refactor(core): 更新类型转发器和测试文件的命名空间引用

- 在 TypeForwarders.cs 中添加 Cqrs 相关命名空间引用
- 在 CqrsPublicNamespaceCompatibilityTests.cs 中同步更新命名空间导入
- 在 CqrsTestRuntime.cs 中补充 Command 命名空间引用
- 确保所有测试运行时环境的命名空间一致性
This commit is contained in:
GeWuYou 2026-04-15 22:36:55 +08:00
parent 12c9c8a9ec
commit b747787b87
3 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,10 @@ using GFramework.Cqrs.Abstractions.Cqrs.Command;
using GFramework.Cqrs.Abstractions.Cqrs.Notification;
using GFramework.Cqrs.Abstractions.Cqrs.Query;
using GFramework.Cqrs.Abstractions.Cqrs.Request;
using GFramework.Cqrs.Command;
using GFramework.Cqrs.Notification;
using GFramework.Cqrs.Query;
using GFramework.Cqrs.Request;
namespace GFramework.Core.Tests.Cqrs;

View File

@ -1,5 +1,9 @@
using System.Runtime.CompilerServices;
using GFramework.Core.Abstractions.Logging;
using GFramework.Cqrs.Command;
using GFramework.Cqrs.Notification;
using GFramework.Cqrs.Query;
using GFramework.Cqrs.Request;
[assembly: TypeForwardedTo(typeof(LoggerFactoryResolver))]
[assembly: TypeForwardedTo(typeof(CommandBase<,>))]

View File

@ -7,6 +7,7 @@ using GFramework.Core.Abstractions.Logging;
using GFramework.Core.Ioc;
using GFramework.Cqrs;
using GFramework.Cqrs.Abstractions.Cqrs;
using GFramework.Cqrs.Command;
namespace GFramework.Tests.Common;