コード例 #1
0
ファイル: CalculateCartFlow.cs プロジェクト: starsibi/ShopMe
 public CalculateCartFlow(ICalculateSubTotal calculateSubTotal, ICalculateTax calculateTax, ICalculateDiscount calculateDiscount, ICalculateTotal calculateTotal)
 {
     this.calculateSubTotal = calculateSubTotal;
     this.calculateTax      = calculateTax;
     this.calculateDiscount = calculateDiscount;
     this.calculateTotal    = calculateTotal;
 }
コード例 #2
0
 public CalculateTotalController(ICalculateTotal calculateTotal)
 {
     CalculateTotal = calculateTotal;
 }