示例#1
0
 public void CalculateTotal()
 {
     CartItems.ForEach(x =>
     {
         TotalAmount += Pricing.Price(x.Key) * x.Count;
     });
 }