常用方法
常用方法
常用方法
常用方法
public void SetUp() { _eventStore = new global::InMemoryEventStore.InMemoryEventStore(new StubEventPublisher()); _eventStore.SaveEvents(_aggregateId, EventStreamToSave(), -1); _retrievedEvents = _eventStore.GetEventsForAggregateSinceVersion(_aggregateId, 3).ToList(); }