Esempio n. 1
0
 public PaymentService(IRepository <Payment> paymentRepository, IRepository <Order> orderRepository, IDomainEventsRaiser events)
 {
     _paymentRepository = paymentRepository;
     _orderRepository   = orderRepository;
     _events            = events;
 }
 public InventoryService(IRepository <InventoryItem> inventoryItemRepository, IDomainEventsRaiser events)
 {
     _inventoryItemRepository = inventoryItemRepository;
     _events = events;
 }
Esempio n. 3
0
 public OrderPlacementService(IRepository <Order> ordersRepository, IDomainEventsRaiser events)
 {
     _ordersRepository = ordersRepository;
     _events           = events;
 }
Esempio n. 4
0
 public static void SetResolver(IDomainEventsRaiser raiser)
 {
     _eventsRaiser = raiser;
 }