Exemplo n.º 1
0
 public FastOnlineStoreFactory(IPaymentService paymentService,
                               IShippingService shippingService,
                               IOrderAccelerationService accelerationStore)
 {
     _paymentService    = paymentService;
     _shippingService   = shippingService;
     _accelerationStore = accelerationStore;
 }
Exemplo n.º 2
0
 public FastOnlineStore(string name, IPaymentService paymentService, IShippingService shippingService,
                        IOrderAccelerationService accelerationService)
 {
     Name                 = name;
     _paymentService      = paymentService;
     _shippingService     = shippingService;
     _accelerationService = accelerationService;
 }