Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 4
0
 public PaymentCompletedV1Handler(IDomainRepository domainRepository, IDeliveryAggregateFactory deliveryAggregateFactory, IApplicationLogger applicationLogger)
 {
     this.domainRepository         = domainRepository;
     this.deliveryAggregateFactory = deliveryAggregateFactory;
     this.applicationLogger        = applicationLogger;
 }