GFramework/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequest.cs
gewuyou 16cd96b94b test(cqrs): 补充 dispatcher 缓存上下文回归
- 新增 cached request pipeline executor 的上下文刷新回归测试与专用测试替身

- 记录 singleton behavior 生命周期语义下的上下文重新注入结论

- 更新 cqrs-rewrite 跟踪与 trace 恢复点到 RP-057
2026-04-29 23:03:21 +08:00

10 lines
432 B
C#

using GFramework.Cqrs.Abstractions.Cqrs;
namespace GFramework.Cqrs.Tests.Cqrs;
/// <summary>
/// 为 pipeline executor 上下文刷新回归提供带分发标识的最小请求。
/// </summary>
/// <param name="DispatchId">当前分发的稳定标识,便于断言 handler 与 behavior 看到的是同一次请求。</param>
internal sealed record DispatcherPipelineContextRefreshRequest(string DispatchId) : IRequest<int>;