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