Exemplo n.º 1
0
 public Cart(IPricingCalculator pricingCalculator)
 {
     _pricingCalculator = pricingCalculator;
     _items             = new List <OrderItem>();
 }
Exemplo n.º 2
0
 public Cart(IPricingCalculator pricingCalculator)
 {
     this.pricingCalculator = pricingCalculator;
     this.items             = new List <OrderItem>();
 }
Exemplo n.º 3
0
 public Cart(IPricingCalculator pricingCalculator)
 {
     this.pricingCalculator = pricingCalculator;
     this.items = new List<OrderItem>();
 }
Exemplo n.º 4
0
 public PricingController(PricingContext pricingContext, IPricingCalculator calculator, IConfiguration config)
 {
     this.pricingContext = pricingContext;
     this.calculator     = calculator;
     this.config         = config;
 }
Exemplo n.º 5
0
 public Cart()
 {
     _items             = new List <OrderItem>();
     _pricingCalculator = new PricingCalculator();
 }
Exemplo n.º 6
0
 public CartService(IPricingCalculator pricingCalculator)
 {
     _pricingCalculator = pricingCalculator;
     _items             = new List <OrderItemModel>();
 }
Exemplo n.º 7
0
 public Cart(IPricingCalculator pricingCalculator)
 {
     _pricingCalculator = pricingCalculator;
     _items = new List<OrderItem>();
 }