// Copyright (c) 2025-2026 GeWuYou
// SPDX-License-Identifier: Apache-2.0
using GFramework.Core.Abstractions.Architectures;
namespace GFramework.Cqrs.Tests.Cqrs;
///
/// 描述单次分发阶段记录下来的上下文与实例身份。
///
/// 触发本次记录的请求标识。
/// 当次 handler 或 behavior 实例编号。
/// 当次分发注入的架构上下文。
internal sealed record DispatcherPipelineContextSnapshot(
string DispatchId,
int InstanceId,
IArchitectureContext Context);