Exemplo n.º 1
0
 public InventoryCommandHandler(
     IInventoryEventRepository inventoryEventRepository,
     IInventoryWriteRepository inventoryWriteRepository
     )
 {
     _inventoryEventRepository = inventoryEventRepository;
     _inventoryWriteRepository = inventoryWriteRepository;
 }
Exemplo n.º 2
0
 public InventoryService(
     IInventoryReadRepository inventoryReadRepository,
     IInventoryEventRepository inventoryEventRepository,
     IInventoryCommandHandler inventoryCommandHandler
     )
 {
     _inventoryReadRepository  = inventoryReadRepository;
     _inventoryEventRepository = inventoryEventRepository;
     _inventoryCommandHandler  = inventoryCommandHandler;
 }
Exemplo n.º 3
0
 public InventoryItemEvents(IInventoryEventRepository eventStore, Guid aggregateId)
     : base(eventStore, aggregateId)
 {
 }