public FakeBus() { this.logger = new ConsoleLogger(); this.applicationLogger = new ConsoleApplicationLogger(); this.paymentsDataStore = new InMemoryPaymentsDataStore(); this.orderAggregateFactory = new OrderAggregateFactory(); this.deliveryAggregateFactory = new DeliveryAggregateFactory(); this.ordersDataStore = new InMemoryOrdersDataStore(); this.deliveryOptionsDataStore = new InMemoryDeliveryOptionsDataStore(); }
public SubmitDeliveryOptionsV1Handler(IDomainRepository domainRepository, IDeliveryAggregateFactory deliveryAggregateFactory, IApplicationLogger applicationLogger) { this.domainRepository = domainRepository; this.deliveryAggregateFactory = deliveryAggregateFactory; this.applicationLogger = applicationLogger; }
public OrderAcceptedV1Handler(IDomainRepository domainRepository, IDeliveryAggregateFactory deliveryAggregateFactory, IApplicationLogger applicationLogger) { this.domainRepository = domainRepository; this.deliveryAggregateFactory = deliveryAggregateFactory; this.applicationLogger = applicationLogger; }
public PaymentCompletedV1Handler(IDomainRepository domainRepository, IDeliveryAggregateFactory deliveryAggregateFactory, IApplicationLogger applicationLogger) { this.domainRepository = domainRepository; this.deliveryAggregateFactory = deliveryAggregateFactory; this.applicationLogger = applicationLogger; }