public ShowcaseAppService( IMapper mapper, IShowcaseRepository showcaseRepository, IMediatorHandler meditor, IStoredEventRepository storedEventRepository) { _mapper = mapper; _showcaseRepository = showcaseRepository; _meditor = meditor; _storedEventRepository = storedEventRepository; }
public EventStoreHandler(IStoredEventRepository storedEventRepository, IDateTimeProvider dateTimeProvider) { if (storedEventRepository == null) { throw new ArgumentNullException("storedEventRepository"); } if (dateTimeProvider == null) { throw new ArgumentNullException("dateTimeProvider"); } _storedEventRepository = storedEventRepository; _dateTimeProvider = dateTimeProvider; }
public AnalyticsOrchestrator(IKegRepository kegRepository, IBeerRepository beerRepository, IStoredEventRepository storedEventRepository, ITapRepository tapRepository, IStyleRepository styleRepository) { if (null == kegRepository) throw new ArgumentNullException("kegRepository"); if (null == beerRepository) throw new ArgumentNullException("beerRepository"); if (null == storedEventRepository) throw new ArgumentNullException("storedEventRepository"); if (tapRepository == null) throw new ArgumentNullException("tapRepository"); if (styleRepository == null) throw new ArgumentNullException("styleRepository"); _kegRepository = kegRepository; _beerRepository = beerRepository; _storedEventRepository = storedEventRepository; _tapRepository = tapRepository; _styleRepository = styleRepository; }
public EcommerceUnitOfWork(EcommerceDDDContext dbContext, ICustomerRepository customerRepository, IOrderRepository orderRepository, IStoredEventRepository messageRepository, IProductRepository productRepository, IPaymentRepository paymentRepository, ICartRepository cartRepository, IEventSerializer eventSerializer) : base(dbContext) { CustomerRepository = customerRepository ?? throw new ArgumentNullException(nameof(customerRepository)); OrderRepository = orderRepository ?? throw new ArgumentNullException(nameof(orderRepository)); MessageRepository = messageRepository ?? throw new ArgumentNullException(nameof(messageRepository)); ProductRepository = productRepository ?? throw new ArgumentNullException(nameof(productRepository)); CartRepository = cartRepository ?? throw new ArgumentNullException(nameof(cartRepository)); PaymentRepository = paymentRepository ?? throw new ArgumentNullException(nameof(paymentRepository)); _eventSerializer = eventSerializer ?? throw new ArgumentNullException(nameof(eventSerializer)); }
public EventStoringSubscriber(IStoredEventRepository storedEventRepository, IEventSerializer eventSerializer) { _storedEventRepository = storedEventRepository; _eventSerializer = eventSerializer; }
public EventStore(IStoredEventRepository storedEventRepository, IAspNetUser user) { _storedEventRepository = storedEventRepository; _user = user; }
public InMemoryBus(IMediator mediator, IStoredEventRepository storedEventRepository) { this.mediator = mediator; this.storedEventRepository = storedEventRepository; }
public EventForwarderService(IUnitOfWork unitOfWork, IStoredEventRepository storedEventRepository, IMessagingService messagingService) { _unitOfWork = unitOfWork; _storedEventRepository = storedEventRepository; _messagingService = messagingService; }
public StatusController(IStoredEventRepository storedEventRepository) { _storedEventRepository = storedEventRepository; }