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