using System.Collections.Generic; namespace GFramework.Cqrs.Tests.Cqrs; /// /// 记录确定性通知处理器的实际执行顺序。 /// internal static class DeterministicNotificationHandlerState { /// /// 获取当前测试中的通知处理器执行顺序。 /// public static List InvocationOrder { get; } = []; /// /// 重置共享的执行顺序状态。 /// public static void Reset() { InvocationOrder.Clear(); } }