Exemple #1
0
 public DeleteCustomerCommandHandler(IKakfaProducer kakfaProducer,
                                     IEventRepository <POSCustomerEventContext, CustomerDeletedEvent> eventSources
                                     )
 {
     _kafkaProducer = kakfaProducer;
     _eventSources  = eventSources;
 }
Exemple #2
0
 public OrderShippedEventHandler(IKakfaProducer producer,
                                 IOrderRepository orderRepository
                                 )
 {
     _producer        = producer;
     _orderRepository = orderRepository;
 }
Exemple #3
0
 public DeleteProductCategoryCommandHandler(IKakfaProducer kakfaProducer,
                                            IEventRepository <POSProductEventContext, ProductCategoryDeletedEvent> eventSources
                                            )
 {
     _kafkaProducer = kakfaProducer;
     _eventSources  = eventSources;
 }
 public OrderValidatedEventHandler(IKakfaProducer producer,
                                   IEventRepository <POSOrderEventContext, OrderShippedEvent> shipedEventSources,
                                   IEventRepository <POSOrderEventContext, OrderCancelledEvent> cancelledEventSources)
 {
     _producer              = producer;
     _shipedEventSources    = shipedEventSources;
     _cancelledEventSources = cancelledEventSources;
 }
 public OrderShippedEventHandler(IKakfaProducer producer,
                                 IOrderRepository orderRepository,
                                 IUnitOfWork <POSOrderContext> uow
                                 )
 {
     _producer        = producer;
     _orderRepository = orderRepository;
     _uow             = uow;
 }
 public OrderCreatedEventHandler(
     IMapper mapper,
     IKakfaProducer producer,
     IProductQueries productQueries)
 {
     _mapper         = mapper;
     _producer       = producer;
     _productQueries = productQueries;
 }
Exemple #7
0
 public CreateProductCommandHandler(
     IMapper mapper,
     IKakfaProducer kakfaProducer,
     IEventRepository <POSProductEventContext, ProductCreatedEvent> eventSources)
 {
     _mapper        = mapper;
     _kafkaProducer = kakfaProducer;
     _eventSources  = eventSources;
 }
Exemple #8
0
 public OrderCreatedEventHandler(
     IMapper mapper,
     IKakfaProducer producer,
     ICustomerQueries customerQueries)
 {
     _mapper          = mapper;
     _producer        = producer;
     _customerQueries = customerQueries;
 }
Exemple #9
0
 public CustomerCreateEventHandler(IUnitOfWork <POSCustomerContext> uow,
                                   IMapper mapper,
                                   IKakfaProducer producer,
                                   ICustomerRepository customerRepository)
 {
     _uow                = uow;
     _mapper             = mapper;
     _producer           = producer;
     _customerRepository = customerRepository;
 }
Exemple #10
0
 public ProductCategoryCreateEventHandler(IUnitOfWork <POSProductContext> uow,
                                          IMapper mapper,
                                          IKakfaProducer producer,
                                          IProductCategoryRepository productCategoryRepository)
 {
     _uow      = uow;
     _mapper   = mapper;
     _producer = producer;
     _productCategoryRepository = productCategoryRepository;
 }
 public ProductUpdateEventHandler(IUnitOfWork <POSProductContext> uow,
                                  IMapper mapper,
                                  IKakfaProducer producer,
                                  IProductRepository ProductRepository,
                                  IProductQueries ProductQueries)
 {
     _uow               = uow;
     _mapper            = mapper;
     _producer          = producer;
     _ProductRepository = ProductRepository;
     _ProductQueries    = ProductQueries;
 }
 public ProductCategoryUpdateEventHandler(IUnitOfWork <POSProductContext> uow,
                                          IMapper mapper,
                                          IKakfaProducer producer,
                                          IProductCategoryRepository productCategoryRepository,
                                          IProductCategoryQueries productCategoryQueries)
 {
     _uow      = uow;
     _mapper   = mapper;
     _producer = producer;
     _productCategoryRepository = productCategoryRepository;
     _productCategoryQueries    = productCategoryQueries;
 }
 public CreateOrderCommandHandler(IMapper mapper,
                                  IKakfaProducer kakfaProducer,
                                  IEventRepository <POSOrderEventContext, OrderCreatedEvent> eventSources,
                                  IUnitOfWork <POSOrderContext> uow,
                                  IOrderRepository orderRepository
                                  )
 {
     _mapper          = mapper;
     _kafkaProducer   = kakfaProducer;
     _eventSources    = eventSources;
     _uow             = uow;
     _orderRepository = orderRepository;
 }
Exemple #14
0
 public UserCreatedEventHandler(IMapper mapper, IAccountUserBLL accountUserBLL, IKakfaProducer producer)
 {
     _mapper         = mapper;
     _accountUserBLL = accountUserBLL;
     _producer       = producer;
 }
 public OrderValidatedEventHandler(IKakfaProducer producer)
 {
     _producer = producer;
 }
Exemple #16
0
 public UpdateCreditLimitCommandHandler(ICustomerRepository repository, IKakfaProducer kafkaProducer)
 {
     _repository    = repository;
     _kafkaProducer = kafkaProducer;
 }
Exemple #17
0
 public CreateUserCommandHandler(IKakfaProducer kafkaProducer, IEventRepository <UserContextEvents, UserCreatedEvent> eventUserRepository)
 {
     _kafkaProducer       = kafkaProducer;
     _eventUserRepository = eventUserRepository;
 }
Exemple #18
0
 public ShipOrderCommandHandler(IOrderRepository repository, IMapper mapper, IKakfaProducer kafkaProducer)
 {
     _repository    = repository;
     _mapper        = mapper;
     _kafkaProducer = kafkaProducer;
 }
Exemple #19
0
 public OrderCreatedEventHandler(ICustomerService service, IKakfaProducer producer)
 {
     _service  = service;
     _producer = producer;
 }
 public CreateCustomerCommandHandler(ICustomerRepository repository, IMapper mapper, IKakfaProducer kafkaProducer)
 {
     _repository    = repository;
     _mapper        = mapper;
     _kafkaProducer = kafkaProducer;
 }