예제 #1
0
파일: Payment.cs 프로젝트: RomanTino/Store
 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
파일: Payment.cs 프로젝트: RomanTino/Store
 public Payment(User inCustomer, List<Order> inOrders)
 {
     this.customer = inCustomer;
     this.orders = inOrders;
 }
예제 #3
0
파일: Payment.cs 프로젝트: RomanTino/Store
 public Payment()
 {
     this.customer = new User();
     this.orders = new List<Order>();
 }