mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 08:44:29 +08:00
- 重构 TestArchitectureContext 与 TestArchitectureContextV3 的共享 IArchitectureContext 测试实现到 TestArchitectureContextBase - 更新 gframework-pr-review 技能规则,要求对已验证成立的 nitpick 进行显式 triage - 补充 analyzer-warning-reduction 的恢复点与验证记录
17 lines
667 B
C#
17 lines
667 B
C#
namespace GFramework.Core.Tests.Architectures;
|
|
|
|
/// <summary>
|
|
/// 为 <see cref="ArchitectureServicesTests" /> 提供最小实现的架构上下文测试桩。
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 共享的容器解析、事件总线协作与 legacy CQRS 失败契约由 <see cref="TestArchitectureContextBase" /> 提供,
|
|
/// 当前类型只补充 <see cref="ArchitectureServicesTests" /> 需要的上下文实例标识。
|
|
/// </remarks>
|
|
public class TestArchitectureContextV3 : TestArchitectureContextBase
|
|
{
|
|
/// <summary>
|
|
/// 获取或初始化用于区分测试上下文实例的标识。
|
|
/// </summary>
|
|
public int Id { get; init; }
|
|
}
|