如何將事件存儲爲設置測試的一部分? 目前我發送這樣的命令初始化應用程序狀態: Given some commands were sent
When sending another command
Then some events should have been published
我使用ICommandService.Execute()發送命令在Given和When部分。 由於命令可以被
將NServiceBus從2.6升級到3.3之後CommandService開始在IStartableBus.Start()上拋出System.NullReferenceException: Object reference not set to an instance of an object.。小型研究表明,由Configure.CreateBus()返回的UnicastBus具有空的Tran
創建的彙集根從here看這段代碼: [Serializable]
public class CreateClientCommand : Command
{
public string ClientName { get; private set; }
public string Street { get; private set; }
public string S