public InventoryCommandHandler(E05.Test.Infrastructure.Bus bus, EventStore eventStore) { _eventStore = eventStore; _bus = bus; _bus.RegisterQueue <CreateInventoryItem>(Handle); _bus.RegisterQueue <ModifyItemName>(Handle); }
public EventStore(E05.Test.Infrastructure.Bus bus, EventsSerializer eventsSerializer, SnapshotStore snapshotStore) { Events = new List <EventDescriptor>(); _bus = bus; _eventsSerializer = eventsSerializer; _snapshotStore = snapshotStore; }
public EventStore(E05.Test.Infrastructure.Bus bus, EventsSerializer eventsSerializer) { Events = new List <EventDescriptor>(); _bus = bus; _eventsSerializer = eventsSerializer; }
public EventStore(E05.Test.Infrastructure.Bus bus) { Events = new List <EventDescriptor>(); _bus = bus; }