示例#1
0
 public Payment(int ordersCount)
 {
     this.customer = new User();
     this.orders = new List<Order>();
     for (int i = 0; i < ordersCount; i++)
     {
         this.orders[i] = new Order();
     }
 }
示例#2
0
 public Payment(User inCustomer, List<Order> inOrders)
 {
     this.customer = inCustomer;
     this.orders = inOrders;
 }
示例#3
0
 public Payment()
 {
     this.customer = new User();
     this.orders = new List<Order>();
 }