public OrdersController(IOrdersDataStore ordersDataStore, IActivationCodeGenerator activationCodeGenerator, IExternalMobileTelecomsNetworkService externalMobileTelecomsNetworkService) { this.ordersDataStore = ordersDataStore; this.activationCodeGenerator = activationCodeGenerator; this.externalMobileTelecomsNetworkService = externalMobileTelecomsNetworkService; }
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 ActivationCodeGenerator(IRandomCharCodesGenerator randomCharCodesGenerator, IOrdersDataStore ordersDataStore) { this.randomCharCodesGenerator = randomCharCodesGenerator; this.ordersDataStore = ordersDataStore; }
public OrderPlacedV1Handler(IOrdersDataStore ordersDataStore, IApplicationLogger applicationLogger) { this.ordersDataStore = ordersDataStore; this.applicationLogger = applicationLogger; }