public InventoryCommandHandler(
     IInventoryEventRepository inventoryEventRepository,
     IInventoryWriteRepository inventoryWriteRepository
     )
 {
     _inventoryEventRepository = inventoryEventRepository;
     _inventoryWriteRepository = inventoryWriteRepository;
 }
Exemple #2
0
 public InventoryService(
     IInventoryReadRepository inventoryReadRepository,
     IInventoryEventRepository inventoryEventRepository,
     IInventoryCommandHandler inventoryCommandHandler
     )
 {
     _inventoryReadRepository  = inventoryReadRepository;
     _inventoryEventRepository = inventoryEventRepository;
     _inventoryCommandHandler  = inventoryCommandHandler;
 }
 public InventoryItemEvents(IInventoryEventRepository eventStore, Guid aggregateId)
     : base(eventStore, aggregateId)
 {
 }